If it has more than 300,000 km on it, don't bother, the engine is simply worn out.
Have to disagree on that. Being as my daily driver has 421,000

On the parts, I've had good luck with Autopartsway.ca. Much cheaper than anyone else, especially if you need a bunch of parts so shipping is free. I think they vacuum up good quality old stock somehow.
My order for my 87 Mazda B2000:
Part Name: Camshaft Seal
QTY Ordered: 2
Item Price: $4.70
Item Total: $9.40
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Part Number: W0133-1623823
Part Name: Timing Belt Kit (note, this was by Continental, a belt and a tensioner)
QTY Ordered: 1
Item Price: $21.03
Item Total: $21.03
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Part Number: W0133-1642072
Part Name: Distributor Rotor (Made in Japan)
QTY Ordered: 1
Item Price: $2.40
Item Total: $2.40
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Part Number: W0133-1637507
Part Name: Distributor Cap (Made in Japan)
QTY Ordered: 1
Item Price: $3.87
Item Total: $3.87
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Part Number: W0133-1625161
Part Name: Fuel Pump (Made in Japan)
QTY Ordered: 1
Item Price: $39.51
Item Total: $39.51