Menacing a police officer or peace officer means the police allege that you have placed a police officer or peace officer in fear of injury or death while they are acting in their capacity as an officer, by displaying a weapon.
Menacing a police officer or peace officer is a class D violent felony under NY Penal Law §120.18.This means you face  a maximum of 7 years in New York State prison.