This has never happened, of course, but electors are free to vote for whom they will, and one supposes that Democrats in your scenario would coalesce behind an alternative candidate.