In Alaska, a caucus requies one to to declare to a party. As a registered Non-Partisan I had to switch to the Democratic ticket in order to vote. I, of course, was able to switch right back. Which I haven't done yet- it was so crowded and the lines were so long that I'll probably wait until close to the next election time.
Unless I stay in the Democratic Party. I tend to vote for the candidate wo I've been known to vote for someone in the opposition party or when I'm casting strictly a protest ballot.
Nowadays, and for the last couple of elections, I think the stakes are so high there is no way I'd vote Republican.