A better question than "did the parties switch" is "if you were alive in the 1800s and you were eligible to vote, based on the policies from either party, which party would you have voted for and which party do you vote for today?" The 2nd answers the 1st