A city correction officer was busted for pulling out a gun and threatening to shoot his co-worker during a squabble over his wife in a Bronx apartment building, police said Thursday.

Victor Tejada-Reyes, 28, caught another Department of Correction officer with his wife — who is also with the DOC — while the pair were leaving the cheating co-worker’s building on Rochambeau Avenue in Norwood at 8 a.m. on Wednesday, cops and sources said.

Tejada-Reyes then confronted the 30-year-old man, pulling out a gun and asking him, “Do you want me to shoot you?”

His co-worker reported the clash to police, who arrested Tejada-Reyes at his apartment late Wednesday and charged him with menacing, officials said.

The DOC is investigating the incident, spokesperson Peter Thorne said in a statement.

Tejeda-Reyes, who has worked for the department since 2016, has been suspended without pay, he said.