The fuel pump will interchange, but depending on it's age and type you may want to upgrade that.

Aside from the engine mount bracket difference on the drivers side, externally the 340 is the same as a 318, if it bolts to the 318 it will bolt to the 340.