I don't entirely have an answer to the question "How Do Racists and Anti-Racists Use Group-ism at Election Time?" — if you have pieces of the puzzle, add them to the comments.
I recommend looking at What Ails the Right Isn’t (Just) Racism: An authoritarian fear of difference best explains the intolerance sweeping the Republican Party.
The short answer to my question: enough Americans