Representative John James emerged from the primary, setting up a competitive general election race.