Former teacher indicted, had sexual relationship with student