I see. So when you're getting a speeding ticket and the officer is being a jerk... So you ask for the officer's badge number intending to report his/her behavior... He/she takes that as a "threat" - a threat to his/her career/job/etc. Bang, you are guilty of a felony? What a stupid law. Or maybe merely asking why you're getting the ticket, discussing (arguing) that the light was yellow, or that you did come to a full stop, or that the change in speed limits was not well marked...
Anything that "annoys" the officer can get you a felony rap? What a crock of hot, steaming fertilizer. This law is intended to do nothing but make felons out of otherwise law abiding citizens. This is pure control and intimidation, nothing else. FU NY.
You have the right to remain silent. Even without this crazy law that is the best thing to do. Save the excuses and explanations, and share them with your lawyer.
I have advised my kids that they should keep their mouth shut, until they get a chance to talk to a lawyer. A good thing to remember to say is: I’m sure my lawyer wouldn’t want me to answer any questions at this time.