A man is accused of shooting and killing a coworker at a South Florida metal shop, with witnesses detaining him until deputies arrived.