However, slavery was stronger in the Brazilian northeast.
Uh...
No. Not at all. Actually, quite the contrary. Economic dependence on slavery, in the NE, was concentrated in the coast, while in the SE it was the sole widespread economic organization. The sertão was organized in a system of mild serfdom. Which endured way onto the mid to mid-late XXth century. That's why the population there is much more 'parda' with few blacks, while in BA coast you can see a strong majority of black people. And this mild serfdom feedback helps to explain the rightwing alignment, before the XXIst century.
The American realignment is quite more complicated than ours and than this way you've put. Welcome to the forum, and take a few time to follow the discussions on this realignment (volta e meia alguém recomeça a discuti-lo). Actually, it's not quite an ideological voting pattern realignment, but more of a party ideologies realignment.
But I always wondered that, without the north, the Southern USA states would evolve to an Anglophone Brazil.
Seja bem-vindo.