An NYPD detective is facing backlash after appearing in a rap video.