Political control of the House of Representatives is up for grabs in the Nov. 6 midterm election, and several key races in New York and New Jersey could end up deciding the balance of power. If Democrats retake the House, they’ve pledged to spend the next two years pursuing investigations and legislative “resistance” to President Trump — rather than actually addressing the country’s needs. America needs members of Congress who’ll focus on actually getting their jobs done. With that in mind, here are The Post’s endorsements:

1st CD (Suffolk)

Lee Zeldin, seeking a third term in what normally would be considered Trump country, finds himself in a surprisingly close race. But the Iraq War vet has represented the district well and is highly ranked for his bipartisanship: He’s attracted Democratic support for his bills without compromising his commitment to GOP values. He deserves re-election.

2nd District (Nassau-Suffolk)

Pete King, in office since 1993, is facing his strongest Democratic challenge in years, but his voice is far too important to lose. On issues of national security and foreign affairs, King has been a critical and often lonely voice of clarity. Yes, his outspokenness often raises eyebrows, but he plays a critical role on many issues key to New York and the entire nation and should be re-elected.

11th CD (Staten Island-Brooklyn)

The lone congressional Republican from New York City, Dan Donovan faces a well-financed opponent after winning a bitter primary against ex-con ex-Rep. Michael Grimm. The former Staten Island DA has been an effective congressman, fighting for anti-terror funding for the city and pressing the GOP agenda of smaller government and lower taxes. The district would be well-served by re-electing him.

18th CD (Orange-Putnam-Westchester)

James O’Donnell is an underdog, but Democratic Rep. Sean Patrick Maloney richly deserves defeat — not least because this year he had the gall to run for two offices at the same time. Worse still, it appears he only ran for state attorney general at Gov. Cuomo’s bidding — to pull votes from anti-corruption crusader (and harsh Cuomo critic) Zephyr Teachout. Maloney has treated voters in his district with contempt, and they should return the favor. New York doesn’t need this hack, and neither does Congress.

19th CD (Hudson Valley)

John Faso has long been one of New York’s most decent public servants. After serving 16 years in the Legislature and losing two high-profile statewide races (to candidates later forced from office), he won election to the House in 2016. Now he’s one of the Democrats’ top targets. Democratic rapper-turned-attorney Antonio Delgado’s signature issue is Medicare-for-All, a fiscally insane policy that would force hundreds of millions of Americans out of their current health coverage. Faso stood out in Albany for his candor, thoughtfulness and seriousness. He’s done the same in Congress and has earned a second term.

22nd CD (Central New York)

One of the state’s closest races, pitting freshman GOP incumbent Claudia Tenney against Democrat Anthony Brindisi. Tenney is a reliable and vocal supporter of President Trump’s agenda; Brindisi is a typical liberal Democrat. We prefer Tenney.

21th CD (Adirondacks)

Rising GOP star Elise Stefanik is seeking her third term. The youngest woman ever elected to Congress, she serves on the Armed Services Committee. National Security Adviser John Bolton has hailed her work on counter-terrorism and counter-proliferation of WMDs. She co-chairs the Tuesday Group of Republicans willing to work across the aisle. One of the brightest lights of the New York congressional delegation. Stefanik deserves another term.

27th CD (Buffalo-Rochester suburbs)

The one Democrat to win The Post’s backing is Nate McMurray. Not that we find him so impressive, but he’s running against Rep. Chris Collins, who’s under federal indictment for securities fraud and in­sider trading. After first agreeing to drop out, Collins changed his mind and plainly means to use the seat as a chip in plea-bargaining, just as Staten Island’s Michael Grimm did. Again, voters should return the incumbent’s contempt. Republicans can try to retake the seat in 2020.

Two New Jersey races are also neck and neck:

7th CD (Hunterdon-Essex-Morris):

Rep. Leonard Lance has bucked the GOP on several social issues in recent years, but insists he remains at heart a smaller-government, spend-less Republican. His Democratic opponent, Tom Malinowski, was an assistant secretary of state under Barack Obama and an official of the Israel-obsessed Human Rights Watch, neither of which does much for his credibility. In a key swing district, we recommend a vote for Lance.

11th CD (Morris-Passaic-Sussex):

This is an open seat thanks to the retirement of Republican Rodney Frelinghuysen. GOP Assemblyman Jay Webber, a Trump loyalist who’s gotten a boost from Vice President Mike Pence, is opposed by political novice Mikie Sherrill, who hopes to be the first Democrat to win here in more than 30 years. Webber is the better choice.