The crash happened around 1:45 a.m. Wednesday at Edison and Prospect Streets in the Somerton section of Philadelphia.
Police say the driver went over the sidewalk and landed on the West Trenton Line (R3) tracks.
A 19-year-old woman and a 28-year-old man sustained multiple injuries and are now hospitalized in stable condition.