An 18-year-old student was arrested Thursday after he repeatedly punched a teacher at his school, authorities said.