Poor starting, rough idle, and sometimes "chugging", 96 Jimmy

The problem could be any number of things. Do you have any idea when the plugs/wires & filters were last done? If you don’t then you should just do them.

If the check engine light comes back on go to a chain-type auto parts store & have the codes read. Write down the exact code(s) and post.