President Trump’s tax plan just got a Bronx cheer — from the boss of the New York Yankees.

Yankees president Randy Levine, a longtime Trump backer, urged the president on Monday to radically revamp his tax bill, calling it a “swamp deal” that benefits Wall Street at the expense of the middle class.

“You ran on tax cuts, not on the swamp’s idea of tax reform where special interests win,” Levine told Trump in an open letter Monday published by Newsmax, a conservative news site.

“This is a plan that helps Wall Street, hedge funds, private equity managers, real estate and oil and gas partnerships and individuals who disguise income as profits or distributions.”

Meanwhile, the Republican bills in Congress “may not even be tax cuts at all” for the middle-class voters who got Trump elected, according to Levine, who previously served as deputy mayor under Rudolph Giuliani and as a high-level federal prosecutor under President Ronald Reagan.

“It is wrong to eliminate or limit property tax, mortgage and interest deductions,” Levine wrote. “Hardworking people have relied on them for years, this is how they afford to buy homes and build nest eggs in the equity of their homes.”

Levine likewise blasted the Republican push to remove state and local tax deductions — provisions that will sock New York’s taxpayers particularly hard.

“Our state, New York, sends much more money to Washington than it receives back,” Levine noted. “In other words, states like New York, New Jersey and California are subsidizing other states, allowing them to lower state and local taxes or have none at all.”

Levine additionally faulted Trump for breaking a promise to eliminate so-called “carried-interest” deductions that allow Wall Street fat cats to avoid being taxed at the 39.5 percent rate they’d normally face.

“That is why Warren Buffet pays a lower tax rate than his secretary,” Levine said. “This, Mr. President, is not fair.”

Appealing to Trump’s prowess as a dealmaker, Levine begged Trump to yank his support for the Republican tax bills, concluding that “sometimes no deal is better than a bad deal.”

“The good news is there is still time to fix it and make it better and more efficient,” Levine wrote. “But as Yogi Berra said, Mr. President, ‘it is getting late early.’”