One man killed in shooting outside factory