Dramatic footage obtained by The Post captured the moment an NYPD cop opened fire on an armed car thief who pushed a gun up to an officer’s chest and barked, “Die, motherf—ker” in the Bronx.

In the 48-second video, a pair of officers can be seen struggling on the ground with 58-year-old Ronnie Cole at Summit Avenue and West 166th Street in the Highbridge section of the borough on Sunday.

Police said the cops approached Cole after he broke the right rear window of a white BMW parked on Summit Avenue. Cole then produced keys that were not for that car.

“This is my vehicle! This is my vehicle! This is my vehicle!” Cole can be heard shouting in the clip, as the officers wrestle with the perp in an attempt to cuff him.

Audio from police body cameras captured Cole “quite clearly” saying, “I have a gun” during the struggle as he told “the officer he’s going to die,” NYPD Chief of Department Terence Monahan told reporters Monday.

The video of the incident shows an officer tussling with the suspect on the ground and pulling out his gun before shots are fired.

“Hold still, motherf—ker,” one of the cops is heard shouting before the officers take a wounded Cole into custody.

One officer fired twice, striking Cole in the torso and the hip, police said.

Police officials said one of the cops involved said that Cole pressed a gun into his chest.

A loaded 9mm Ruger was recovered at the scene next to Cole.

Monahan said Monday that the bodycams only captured audio of the scuffle because the cameras “got knocked off” and were “pointing in a different direction.”

“One camera falls completely on the ground and is turned off. The other camera is pointing up in the direction, but you hear the entire struggle,” said Monahan.

Cole has eight felony convictions on his record, including five for violent crimes, such as armed robbery.