Where a summons has been served by a member of the state police in lieu of arrest, in cases of violation of the vehicle and traffic law or such ordinances, rules or regulations enacted pursuant thereto or pursuant to any other law relating to traffic, or in cases of violations of the navigation law or such ordinances, rules or regulations enacted pursuant thereto or pursuant to any other law relating to navigation, any major, any captain or any lieutenant or sergeant of the state police assigned to the troop in which the service of the summons is reported, is hereby authorized to administer to such member all necessary oaths in connection with the execution of the complaint to be presented in court by such member in the prosecution of such offense.
N.Y. Exec. Law § 224