Use a 5 gallon can of diesel fuel with a hose in it and hook it to your mechanical fuel pump inlet. Run engine and see if it dies. This will tell you if its your trucks fuel tank, lines, etc or something you swapped in with the diesel engine.