A 47-year-old man allegedly masturbated on the face of a female passenger on the train while she was sleeping.