A former lead prosecutor in the Ontario County District Attorney’s Office will run against his former boss in the June 24 Republican primary.