I vote for democrats/republicans out of compulsion not out of choice. I vote democrat/republican out of compulsion not out of choice. The use of "out of" is correct.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.