Broken timing belt

Indeed. If the pistons are undamaged, then a new head will probably do the trick. Cheaper than a new engine, but still most likely over a grand. If the pistons are damaged or the cost of a head replacement is too much, then you don’t have much choice - either get a new engine, or sell the truck as scrap or as a rolling chassis to someone who wants a project vehicle.