What would cause an LS400 to accelerate very slowly run spuratic and not run at idle the check engine light comes on and the trac off light is lit and it smokes but no foul oder?

My 94 ls 400 did the same thing. After several expensive parts replaced, I replaced the plugs and wires, and all acceleration/ sputtering/ smoking problems stopped. Hope this helps.