An off-duty NYPD officer who lives in Lynbrook was arrested after he menaced a man with his gun, village police said.

Officer Sean Maxwell, 35, was arrested at his home after the victim called village police at 7:38 p.m. Sunday and told them that a motorist had pulled a gun on him, Lynbrook police said.

Police said they determined that the victim had yelled at Maxwell after the off-duty officer failed to stop at a stop sign at Birch Street and Lenox Avenue.

A village police report said Maxwell then got out of his car and said, “Do we have problem here?” then pulled up his shirt to reveal a black handgun and repeated, “Do we have a problem here?”

Maxwell then took the gun from his waistband and pointed it in the direction of the victim before driving away, the report said.

advertisement | advertise on newsday

The victim gave the car’s license plate number to village police, who then went to Maxwell’s home and arrested him, police said.

The report said Maxwell was given a summons charging him with menacing with a handgun and was directed to appear in First District Court in Hempstead on June 22.

Maxwell has been suspended, the NYPD said.