There is also the Whig party for reference. They were one of the two parties until they refused to take a meaningful stance on slavery. They were the 'bipartisanship states rights solves it' party versus the 'pro-slavery' party.
There is no longer a Whig party and the slavery party went to war over a decade or so after the anti slavery parry formed.
So there's that alternative to Party switch.