That's the charcoal canister, part of the evap system. Ford has used that style and location for such for a very long time (the one on my 1995 Ranger looks identical and is also under the hood by the battery).
1984 F150: 300 L6, AOD, RWD. EEC IV / TFI, Feedback Carter YFA Carb. Stock everything but radio (for now).