The race for Pima County sheriff will be settled in court at 10 a.m. Friday.