A love triangle between three corrections officers turned deadly early Friday when one of them was fatally shot by another during a confrontation on a Queens street, police sources said.

The victim — identified by police as 46-year-old off-duty corrections cop Jeffrey Ragland — was blasted in the chest by the new boyfriend of his estranged wife, both also corrections officers, on 108th Avenue near 227th Street in Queens Village around 4:30 am, sources said.

Ragland was rushed to Long Island Jewish Medical Center, where he was pronounced dead.

Sources said the new couple were on the way to work when Ragland confronted his estranged wife.

Ragland had been laying in wait, parking his silver SUV directly behind his wife’s car on 108th Avenue, near the building where she’d spent the night with her new beau.

‘’She and the boyfriend were leaving for work, and she went one direction and he went the other, to their cars,’’ a source said.

As Ragland’s ex approached her car, he got out, and the couple had a heated argument, according to law enforcement sources.

Seconds later, the boyfriend drove up in his car.

‘’He sees them arguing, and he saw [Ragland] punching and slapping her so he got out of his car,’’ a source said.

The boyfriend pushed Ragland to the ground, and Ragland reached for a gun, according to the source.

The younger officer drew his own gun and fired two shots, hitting Ragland once in the chest, police said.