An assembly line worker armed with a rifle who had a pending lawsuit against electrical products company ABB Power killed three co-workers and wounded five others on Thursday before killing himself, police said.