The engine code for the 87-89 model years is stamped on the block in the locations shown in the illustration below. I believe it's the same for 86 and older.
If the truck is a 1990 or newer, the engine codes are as shown for either the 2.4 or 3.0 ltr engines:

Bookmarks