The assault occurred Saturday afternoon near Times Square as officers were trying to take a person into custody.