N.Y. Family Court Act § 634
Commitment of guardianship and custody; further orders
The court may enter an order under section six hundred thirty-one committing the guardianship and custody of the child to the petitioner on such conditions, if any, as it deems proper.