N.Y. Criminal Procedure Law § 350.20
1. Notwithstanding any provision of section 350.10 of this article, in any case where a single judge trial of an information in a local criminal court is authorized or required, the court may, upon agreement of the parties, assign a judicial hearing officer to conduct the trial. Where such assignment is made, the judicial hearing officer shall entertain the case in the same manner as a court and shall: