Welcome on the board. 1987 was the last year for slant-6 engines in North America, and they were
loaded with poorly-engineered desmogging equipment and a rather badly designed carburetor made worse by the quick 'n' sloppy hacks that had been made year by year for the 13 years leading up to your '87, to squeak the vehicles past emission certification tests. When everything's hooked up exactly the way it's supposed to be and everything's in good condition, the '87s run OK. Not great, just OK. But your rough idle isn't normal. Obviously, check all the basic tune-up stuff. Cap, rotor, wires, plugs, that sort of thing. Next round of checks should centre on inspecting for vacuum leaks and exhaust leaks into the intake tract.
Vacuum leaks can be found at the junction of each intake runner to the cylinder head, and at the junction of the carburetor to the intake manifold, and at anything connected to the vacuum tap on the rearmost runner (power brake booster...!). To check for junction leaks, spray carburetor cleaner at each suspected junction and listen/watch closely for the idle quality to change. If it does, it means the cleaner's getting sucked in through the leak, which you have just located.
To check for vacuum tap leaks, pinch off each hose connected to the tap and see if the idle roughness goes away.
Exhaust can leak into the intake tract through an EGR valve that is either stuck open (as by a chunk of carbon holding the valve off its seat) or that is not properly hooked up and is getting manifold vacuum at idle. Exhaust can also leak into the intake via cracks in the floor of the intake manifold. The aluminum intakes are particularly prone to this; if a magnet won't stick to your intake manifold, yours bears particular suspicion. The aluminum intakes also suffer from weld porosity that can cause vacuum leaks right
through the manifold itself

.
Carburetor factors are pretty standard: If the idle circuit or air bleed is partially clogged, poor idle will result.
You really, really need the factory service manual to make any headway on this truck; one of my favourite sources for such a book is in
this thread.
Once you nail down what's causing the problem, post again and we'll have some suggestions for the best way to fix it and/or upgrade the problematic component.
_________________
一期一会
Too many people who were born on third base actually believe they've hit a triple.
