A former school teacher has been charged having sexual encounters with a girl under the age of 16.