The winner of the Aug. 2 primary, which has been in turmoil since May, will take on Gov. Gretchen Whitmer, a Democrat, this fall.