Effective August 24, 2019, Article 63-A of the CPLR was enacted giving certain individuals and institutions the right to seek an "Extreme risk protection order", defined as a court-issued order of protection prohibiting a person from purchasing, possessing or attempting to purchase or possess a firearm, rifle or shotgun.
Forms and instructions are available on the New York Courts website at:
https://ww2.nycourts.gov/erpo