Ex-teacher accused of sex with 4 students