Police say they saw Reham Ali, assaulting the 16-year-old boy between two parked cars.
The victim was taken to the hospital.
Ali is charged with committing a criminal sexual act in the first degree, unlawful imprisonment, and endangering the welfare of a child.