A Fresno County Superior Court judge ruled on Monday that Measure S, a proposed tax for road repairs, will appear on the November ballot, clearing a major legal hurdle despite opposition from some county officials.