Former President Donald Trump is trying to delay his New York criminal case by filing a lawsuit against the judge.