None of the charges you mention are jury eligible in AZ. Did you (if you represented yourself) or your attorney make any kind of objection when the judge made the racist comments? It would have been a good time to ask for a mistrial and notice the judge for cause. However, even if you didn't, you might be able to convince the appellate court (which is superior court for your purposes) that it was "fundamental error," i.e., the kind of error which precluded you from having a fair trial.
I truly hope that you had an attorney, and I would suggest that, whether you did or did not, you consult with an immigration attorney. Depending on the underlying facts of the offenses, you may still have deportable problems, especially with the assault.
The sentences do not matter for purposes of a jury trial. The court doesn't have the authority to "stack" misdemeanor sentences to any sentence over 6 months. Neither do the
immigration consequences. However, if you had an attorney who did not advise you of the immigration consequences for convictions on these charges, and you would have taken a plea agreement if you'd known those consequences, you may have a shot at a petition for post-conviction relief, based upon the attorney's failure to advise you when you were making that decision.
I suggest you consult immediately with a good, competent defense attorney as well as an immigration attorney -- or have the defense attorney do that for you. Your stay in this country may count on it.Ask a similar question