A defective headlight and a tailgating driver led to the arrest of two men and a woman after a traffic stop early Tuesday on Carman Avenue in Massapequa, Nassau County police said.

Arrested were driver Devine D. Poole, 25, of Church Street, Roslyn Heights, and passengers Lakisha Stephens, 24, of Christopher Avenue, in the Browsnville section of Brooklyn, and Wayne McKen, 18, of Hillman Place, Roosevelt. Police said Bureau of Special Operations officers made the arrests in the parking lot of the Budget Inn at 12:01 a.m. Two other passengers were not arrested.

Police said the officers on patrol spotted a 2014 Nissan Maxima, with five people inside, being operated with the defective headlight — its driver tailgating another car.

During the ensuing traffic stop, police said, the officers smelled marijuana and a vehicle search was conducted.

advertisement | advertise on newsday

A loaded black semi-automatic handgun was recovered from the glove box, along with 28 pills “believed to be Alprazolam.” A clear plastic bag containing marijuana also was recovered.

Poole was charged with second-degree criminal possession of a weapon, criminal possession of a defaced weapon and two counts of criminal possession of a controlled substance. Stephens was charged with unlawful possession of marijuana, while McKen was charged with false personation. Poole and McKen both face arraignment Tuesday in First District Court, Hempstead.

Stephens was released on an appearance ticket due in court on Aug. 31, police said.