Not worth putting in 5K of any currency to fix a truck of that age.
there must be s/hand engines available for a fraction of that cost.
Otherwise walk away and treat is as a lesson learned
Best to deal with a dealer in future and let him take the risk
If it is any help to you we have all been caught sometime so don't be too hard on yourselves.
Good luck in the future.
This is ONLY to be used to report flooding, spam, advertising and problematic (harassing, abusive or crude) posts.