88 D100 issues

I would check fuel pressure and make sure the idle air controller is ok, when they go out the engine won’t idle or will idle intermittently from shitty to ok. I’m not sure but I don’t think it will throw a code when they go out.
They are also notorious for problems. But dont go crankin around on it,unless you have a manual and set it by following the procedure.
Still doesent explain rough running. I would pull a couple plugs and see what they look like. i had an 88 ramcharger 10 years ago, it put me through the wringer a couple times.