Republicans won control of the House of Representatives on Wednesday, according to a projection by the Associated Press, handing the party a sweep and ushering in a new era in Washington.