A small Pennsylvania town police chief and his friend were charged with raping a child over a seven-year period when they were teenagers starting when the girl was 4 years old, state prosecutors said Wednesday.