Voters are shifting to Democrats, flashing a warning for Republicans