Ex-US attorney Miles running for Michigan attorney general