An Uber driver has been charged over the death of a passenger in Sydney this year.

The 30-year-old passenger was hit by a bus and killed in Elizabeth Street in the early hours of Saturday, June 17.

Police allege the man got out of the car at a set of traffic lights near Bathurst Street and then fell into the path of a bus when the car accelerated away.

Emergency services were called, but the man died at the scene.

The driver had been working for 21 hours without a substantial break at the time, police said.