N.Y. Comp. Codes R. & Regs. tit. 22, § 152.2
(a) Transfer of actions or proceedings pending in local criminal courts to a Superior Court mental health part.
(1) A local criminal court in a county in which a Superior Court mental health part has been established may, upon motion of the defendant and with the consent of the district attorney, cause copies of papers and other documents filed in such local criminal court in connection with a criminal action or proceeding pending therein to be sent to the Superior Court mental health part:
(b) Transfer of actions or proceedings pending in a Superior Court to a superior court mental health part.
(2) Not later than five business days following receipt of the papers and other documents, the judge or justice presiding in the Superior Court mental health part shall determine whether or not a transfer of the action or proceeding to the court would promote the administration of justice. If such judge or justice determines that it would: