PAHRUMP, Nev.—Like a scene from a Western movie, the two top lawmen here are settling their scores in public.

In May, a Nye County sheriff's deputy arrested the district attorney. The sheriff, Tony De Meo, alleges that the D.A., Robert Beckett, was misusing public funds.

According to Mr. De Meo, public money had gone to supporting the local...