Criminal Law Questions? Ask a Criminal Lawyer.
Yiou can certainly file formal complaint to the committee on judicial conduct - you can also ask the judge to "recuse" herself, meaning that she voluntarily withdraws from the case and a new judge gets assigned - I would do that as well. It is quite appalling.
Usually, when the defendant and D.A. work out a plea with an agreed sentence, the judge is not required to go along, but if she does not she then allows the defendant to change the plea back to not guilty.
If I were you, I would report thejudge and file a motion to have her "recuse" herself.