N.Y. Comp. Codes R. & Regs. tit. 21, § 1151.17
No person shall hunt or discharge a firearm in, on, at or upon any transportation facility at any time, except that a law enforcement officer may discharge a firearm but only if necessary in the execution of his official duties.