A New York barber who cut hair over the past few weeks amid the state's coronavirus restrictions has tested positive for the virus, according to health officials on Wednesday.