In a published decision, the Appellate Division sided with a judge who refused to recuse herself from a case involving a law she sponsored while serving in the state Legislature.