What will happen depends on the answer to this question: How badly do the Republicans want to beat Obama?
Theoretically if they want it bad enough they’ll support (in a general election) most any candidate with an R beside his or her name. If not, you get a split vote and Obama probably keeps the White House.
The point here is that Republicans might well be more comfortable with a Tea Party Presidency than four more years of Barack.