Do you need a license to buy a gun in New York?

yes.