I hope you’re joking. The privacy of how one votes is foundational. It’s how you feel safe voting against the government in a democracy. The perceived lack of it has been a conservative lying point fighting mail in ballots. This is a worse example. Far worse.
I’m a Canadian, but we are quite familiar with US civics by nature of neighbourly love and media saturation. We also share an absolute respect for the sanctity of one’s vote, or at least did.
My reaction to your question was to assume you were a US citizen who was under the impression that the threat in the OP - that one’s vote against Trump would be known by the Republican Party - was legitimate. This compounded my anger at the already ludicrous example of fascism and/or authoritarianism in the OP in seeing someone victim to it. Missing the civil basics whose absence is part of why we are in this… situation.
Apologies again for the wrong assumption. The world is terrifying right now.