Build me a truck engine..........

I would look for a 5.9 and use it will the factory F.I. setup, instead of expensive machining and parts for the 340 spend a little time and integrate the electrionics
into the truck.