The Uber driver who switched places with his passenger so he could take a nap in the back seat — only to wake up with the fare leading cops on a high-speed chase and then crashing the car — is now blaming everyone but himself for the smash-up.

Former driver Corey Robinson, of Philadelphia, says in his lawsuit that in agreeing to take the wheel, passenger Juan Carlos effectively became a “servant or agent” of Uber.

So now both the passenger and Uber now owe him money for taking him on an April 2, trip from hell, the sleepy driver claims in seeking unspecified cash damages in a Bronx Supreme Court lawsuit.

“I was getting really sleepy and started swerving on the road, so I asked him to drive,” Robinson, 43, told the New York Post in an April 5 news clip attached as an exhibit to his lawsuit.

Robinson had been driving Carlos, of The Bronx, to college in upstate Herkimer, NY, according to the clip.

But Robinson awoke somewhere around Binghamton, NY, to find his “good Samaritan” passenger, Carlos, 20, speeding on Interstate 81. Cops had told The Post that Carlos was doing around 86 mph in a 65-mph zone.

Robinson begged his passenger to pull over, he told The Post, but Carlos responded, “the police are chasing us.”

The trip ended with Carlos eluding the cops, but smashing the car into a guardrail in Colesville, NY. The Hyundai Sonata “violently exited said Roadway into a nearby off-roadway earthen field,” leaving Robinson with serious injuries, the lawsuit said.

The car was “completely totalled” and Robinson lost his driver job, he told The Post in April — but while Carlos was charged with unlawfully fleeing a police officer, Robinson suffered no criminal charges.

The lawsuit does not explain how Uber is responsible for the damages; Uber and Robinson’s lawyer, DeToffol, did not immediately respond to requests for comment.