A judge has ruled that the mistress of a former Orange County sheriff will be tried separately on charges related to an alleged corruption scheme to exploit the power of the office for money.