Judges and prosecutors do not have absolute immunity.  When they violate one's Constitutional rights while acting outside of their jurisdiction, they can be sued.  Trump should have already filed actions under 42 U.S.C. § 1983.  Engoron and James did not have jurisdiction to levy a criminal fine, not calibrated to damages, through a civil proceeding.  It is black letter law that any fine, that is not calibrated to damages, is criminal in nature and requires a jury, proof beyond reasonable doubt etc.  Merchan and Bragg conducted a criminal case that was not authorized by law.  Neither of these courts had jurisdiction.  Trump should file the 1983 actions and DOJ should pick the cases up and represent Trump.  Even if these cases are overturned, Trump has been damaged.  Merchan hung a "badge of infamy" on him that is the same as sentencing him to prison.