Donald Trump has awarded the lawyer who won him immunity with one of the most powerful roles in the nation’s justice system.