Teacher arrested again, accused of having sex with student