Republican Rep. Tony Gonzales of Texas said he was withdrawing from his reelection race after having admitted to an affair with a former staff member who later died by suicide.