A rideshare driver has been charged with performing a sex act while a 23-year-old female passenger was in the vehicle.