Find someone to borrow a code reader from and check the codes for P0216... that's the death code for the injection pump... so if it has that, use that to your advantage in negotiating.
The pump is not HARD to replace, just expensive at 1200-1400 bucks. Then after that, you should replace parts to prevent more pump damage... it probably has a weak stock lift pump that lets the fuel pressure below 5psi, which is a common cause of injection pump failure.
Good luck.
This last part is bordering on opinion, but I think it's worth mentioning. Don't buy an automatic unless it has been rebuilt *stronger* than a "stock" rebuild, or you plan on having it rebuilt *stronger* than stock. Get a 5 or 6 speed, especially if you're going to tow a lot... or plan on putting some money into the slushbox and torque converter to make it reliable in the long run.