A New York City police detective was shot while serving a warrant at 384 Madison Street on the Lower East Side of Manhattan.