The “Coast to Coast Bandit” knocked off yet another bank— even as the FBI and NYPD hunted him — simply by switching his signature Yankees cap to one boosting the Mets, authorities said Tuesday.

The switch-hitter, who has pulled off five heists in New York and LA in roughly two months, donned the blue and orange hat for a pair of bank jobs in the team’s home borough of Queens at around 2 p.m. Monday, according to police.

“I have a gun,” he told a teller at Apple Bank on Queens Boulevard near 59th Avenue in Forest Hills, police said.

The suspected robber sports a Yankee cap during another alleged robbery

But the teller balked, forcing him to flee empty-handed, according to cops.

Striking out didn’t stop the him from trying again five minutes later — this time at a Chase Bank a couple blocks away.

“THIS IS A ROBBERY, NO JOKE, GIVE ME ALL YOUR MONEY,” a note he passed to a teller proclaimed.

The second teller handed over $995 — and he fled north on Queens Boulevard, according to police.

Cops and feds said last week they were playing hardball in a hunt for the “Coast to Coast Bandit,” who wore a Bombers hat to three of his four recent bank jobs.

They released several photos of him, mid-stickup, which were broadcast from New York to L.A.

Before trading his pinstripes for orange and blue, the turncoat crook struck banks on the Upper East Side, Murray Hill, and Los Angeles.

He has raked in a total of roughly $8,000 at five successful bank robberies since March 9, according to the NYPD which is teaming up with the FBI on the case.

Sports fans took to Twitter to poke fun at the bandit — saying he better keep his allegiance to the Yankees if he values a good-luck streak.

“Whoever this #bicoastalbandit bank robber is that switched from a Yankees to Mets hat, stick to the Yankees,” tweeted @ant_fran, a New Jersey baseball fan.

Last Thursday, he whipped out a black handgun and demanded cash from a teller at Chase Bank on Lexington Avenue near East 72nd Street, cops said.

The baseball buff allegedly pulled a similar move at a Chase Bank on Sunset Boulevard in LA — Dodgers territory — where he handed a teller a note demanding cash on April 17, authorities said.

Before that, he hit a Chase Bank on Third Avenue near East 31st Street on March 9 and a Santander Bank at Third Avenue and East 63rd Street four days later, cops said.

Authorities are still hunting for the robber, who is roughly 40 years old, clean-shaven with a medium build, 6 feet tall and 200 pounds.

The NYPD and the FBI had not identified the suspect, who had a sunburn at the robbery in LA. He is likely from the New York area, cops said last week.