The southern democrats never switched to republican. Not in the way the propagandists tell us. It’s all a lie. Just like LBJ kept his racism till the day he died.
The southern democrats have always been racists.
https://www.youtube.com/watch?v=b-Kb3p56qA8
All of slavery in this country was on the democrat side.
Northern democrats supported slavery. Southern democrats supported slavery.
Republicans were opposed to slavery.
https://www.youtube.com/watch?v=b-Kb3p56qA8