In Ms. Bondi, who served on his legal team during his first impeachment, the president-elect turned to a loyal ally to put his stamp on a Justice Department that he sees as hostile to him.Pam Bondi was nominated for attorney general by President-elect Donald J. Trump after Matt Gaetz withdrew his name.