sir1963: Trump is a darn good reason why judges should not be political appointments.These should be legal appointments based on merit and merit only.
Off subject, but another bizarre aspect of the US is sheriffs are elected, not appointed.
It varies by county, which is also weird.
The only absolute requirement is you're a US citizen. There may not be any education or physical requirement. There may not even be an age requirement. You may not even have to live in the county.
Being am old white racist male blowhard is definitely an advantage for getting elected as Sheriff. Local county elections have notoriously bad turn-outs, and it's not unusual to have no opposition candidate.