considering you will still spend a lot on repairs, i would recommend a swap. minsan sa overhaul, hindi din maganda ang magiging gawa so you will not be satisfied with it, or you will still spend some more.
engine swap, siguro, including the engine + electricals + mechanicals will cost around 30k max.
not sure if the new engine can bolt on to your existing connections nor how to be sure if the engine that you are getting will be ok, but siguro, get the engine from reputable sellers.