Donald Trump lashed out at the judge and prosecutor during his witness statement in the New York fraud trial