1994 Dodge Ram 1500 V8 5.2L 318

Just did plugs and wires yesterday and the check engine light comes on now. The check engine light only comes on when you put it in first gear and start to accelerate, but the truck does run smoother.