Michigan has swung between Republicans and Democrats in the past three presidential elections.