Help Identify This 340

Would it be worth tossing the heads on my 318?

In my opinion, no. You'd lose compression and valves are too big for your application.