If the GOP wins in 2024, Dems win the House back in 2026.
Do you mean win as in a 1994-style ousting, or simply taking back the House due the typical WH-incumbent-party-loses-seats-in-midterms?
If 1994, then it's worth noting that things were different back then. Ticket-splitting happened much more and the Southern realignment reached a tipping point where enough House seats were changing hands, in addition to gains elsewhere, to tip the chamber.
The current realignment is occurring mainly along generational and racial lines. Heavily Democratic Millennials are growing up, along with an exploding minority population which is on its way to being unanimously Democratic, means that the House could flip before 2026 or maybe even after. A large majority of Millennials currently vote Democratic regardless of who is president, so we don't need a Republican president to "push" them over.