The substitute teacher who allegedly punched a student after the student called him a racial slur accepted a plea.