A man who had been fired from his job in a shop outside the Empire State Building returned to the scene Friday morning, shot dead a former co-worker and then opened fire on police officers in a chaotic, rush-hour gunfight. The gunman also was killed, and at least nine people were wounded in the exchange of gunfire, city officials said.