These switches or electoral realignments were normally driven on by important governmental changes and struggles, for example; the Civil War that occurred in the 1860's, and Civil Rights that occurred in the 1960's. The progressions at that point unraveled through the series of decades to construct a Party Systems which is what historians refer to.
In George Washington's Farewell Address, he advised