A counterprotester demonstrating against a “Stop the Islamic Takeover of New York City” event on Saturday lit and threw a device containing nuts, bolts and screws at the protesting crowd after someone from that group used pepper spray on the counterprotest, police said.