A vehicle tracking service helped a Roosevelt Field mall shopper recover her Mercedes-Benz and led officers to find the thief as he was driving the car in Queens, Nassau police said Thursday.

Dioscoro Cervantes, 49, of Woodside, was behind the wheel of the Mercedes when he was stopped Wednesday by Nassau detectives and NYPD officers, Nassau police said.

advertisement | advertise on newsday

He was driving on 40th Road in Flushing about 5:30 p.m., less than three hours after the victim reported her 2015 Mercedes missing from the mall parking lot, police said. She also notified the tracking service, which worked with police.

Cervantes was arrested by detectives in the Nassau police department’s crimes against property unit and the NYPD’s auto crime unit, police said.

Cervantes, of 50-07 Broadway, was arraigned on third-degree grand larceny, third-degree criminal possession of stolen property and petty larceny. He was held with bail set at $7,500 cash or $15,000 bond. It was not immediately clear if he had an attorney.