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