The Democratic and Republican parties did not switch overnight. Instead, they slowly traded core ideas and voter groups during two main periods: the 1930s Great Depression and the 1960s Civil Rights Movement.