Matt Gaetz says he will resign from Congress if House Democrats vote for a moderate Republican for Speaker.