Rep. Kevin McCarthy, R-Calif., announced Wednesday that he will resign from his congressional seat after being ousted as House speaker.