A woman shot to death Sunday in a Brooklyn murder-suicide was an NYPD school safety officer — and her 12-year-old son was in the next room, police sources said.

Naire McCormick, 44, was found dead with a gunshot wound to the head around 11:45 p.m. when cops responded to a 911 call at an apartment at Clermont and Flushing avenues.

Police said McCormick’s boyfriend, Jancy Dempster, 47, shot her then turned the gun on himself, while his cousin and the school cop’s son were in the next room.

They fled into the hallway after hearing the gunshots, sources said, and were met by police responding to the 911 call.

Both McCormick and Dempster were declared dead at the scene with head wounds. Police said the gun was found near Dempster’s body.

Witnesses said they heard an argument in the apartment prior to the shooting.

Dempster was celebrating his birthday and had been drinking heavily on Sunday, police sources said.

There was no record of a domestic disturbance at the apartment, the source said, but Dempster had four prior arrests dating to 1992, including for weapons possession, robbery and assault.

McCormick had been a school safety officer since Sept. 4, 2004, and earned $61,275 this year.

Gregory Floyd, president of Teamsters Local 237, which represents the 5,000 school safety officers in Big Apple public schools, called McCormick’s death “tragic” in a statement Monday.

“We extend our heartfelt sympathy and prayers to her family,” he said.

The Brooklyn mom also worked as a plus-size model on the side, and last year won the Face of Kurvacious contest, an annual pageant for curvy models sponsored by a Rockland County boutique