James will be the third adversary of President Donald Trump to face a judge on federal charges in recent weeks.