Obviously no one really knows, but I have my predictions.
I feel like the GOP would change after a landslide loss to Hillary, but not necessarily for the better. The Cruz wing of the party would win the nomination, though perhaps not Cruz himself, on the ridiculous argument that Trump lost because he was "not a real conservative". Hillary will win reelection against the essentially unelectable Cruz/Cotton/etc., and the GOP will be left scratching their heads wondering how they lost, just like in 2012.
I think that four consecutive nationwide losses might be enough for the GOP to finally take the 2012 autopsy seriously. If they do moderate their policies, and reform their message, then they could be in a good position to win in 2024. If they refuse to change though, I have no idea what could possibly happen. Whatever it is, it wouldn't be good for the GOP.
Dude Ted Cruz would eviscerate Hillary Clinton in 2020 if he becomes the nominee. Now you're right about Tom Cotton being unelectable but Ted Cruz would win in a landslide victory. Right now we're 20 trillion in debt by then we will be 30 trillion in debt. Ted Cruz would probably win in a 1980s style landslide victory