James E. “Trey” Trainor III said that his resignation is effective Oct. 3 and that he is “seriously evaluating” a run for the House.