President's Trump's former defense attorney has been sworn in as the new top federal prosecutor in New Jersey.