A Queens man who wished the two assassinated city cops had been white was overheard vowing to make it right by drawing fresh NYPD blood — and he had the weapons to get it done, law-enforcement sources said Thursday.

“I’m going to kill another cop. We should do it before Christmas. The cop should have been white that was killed. I always have a gun on me,” Elvin Payamps allegedly blabbed over his cellphone.

After his arrest, Payamps, 38, allegedly confessed to the threat and said it was spurred by Saturday’s execution-style shootings of cops Rafael Ramos and Wenjian Liu in Brooklyn, sources said.

“They should have killed two white cops instead of the Hispanic and Asian if the guy really wanted to send a message,” Payamps allegedly said.

Payamps was overheard hatching the plan by Charles Otero, an ex-NYPD cop who happened to be in a TD Bank branch in Middle Village, Queens, as the killer wannabe flapped his gums at around 1:30 p.m. Wednesday, sources said.

Otero called 911, and cops raced to the scene, but Payamps — who a neighbor said lives two doors away from an active-duty NYPD cop — had already left.

His description was broadcast to police radios, and cops on patrol spotted Payamps getting in a car nearby, according to the NYPD.

During a subsequent stop, the cops spotted a bag of weed in the car and took Payamps into custody, the NYPD said.

Other cops went to Payamps’ Glendale home, which officials said his wife let them search.

It is less than a mile from the Christ Tabernacle Church where Ramos worshipped, and where his funeral will be held Saturday.

In the house, cops found a Jimenez Arms 9-mm firearm and a Mossberg Maverick 12-gauge shotgun with defaced serial numbers, as well as two bulletproof vests and brass knuckles, the NYPD said,

Payamps admitted stealing one of the vests from the Brooklyn Detention Center, according to a law-enforcement source.

He was ordered held in lieu of $500,000 bail Thursday night on felony weapons charges, along with charges of felony aggravated harassment, unlawful use of a police uniform and pot possession.

“The case is serious,” said Queens Criminal Court Judge Stephanie Zaro. “But the law does not allow me to remand on a C violent felony,” she said, in reference to the weapons charge.

Payamps had arrests for selling drugs in 1994 and 1999 and a sealed case involving a knife from Christmas Eve of last year.

He was charged with menacing in 1995 in connection with a stabbing in a Midtown subway station, a published report said.

In a photo posted on Myspace, Payamps poses with a with a pal who flashes gang hand signs, while another wears a shirt reading, “NO SNITCHING ANYTIME.”

He’s also identified online as the owner of Payamps Construction, described as “a small family-owned business that does remodeling and other jobs.”

A neighbor described Payamps as “really secretive.”

“He and his friends, if anybody were to walk past them, he would stay quiet until they’d leave, and then they’d talk very low again,” the neighbor said.

Others noted his neighborhood is home to at least 20 current and former cops.

“It’s kind of like he snuck his way into cop territory,” one neighbor said.

“This guy better watch his back, threatening cops in this neighborhood,” another said.

Additional reporting by Jamie Schram, Shawn Cohen and Leonica Valentine.