New York City police killed a man in Queens on Tuesday evening after he shot at officers — hitting one in the leg — who were responding to reports of armed robberies in the area, authorities said.