NYPD officer charged with plotting murder of key witness