I'm somewhat curious on this...what's the depth of the 40 gallon tank? From U2slow awhile back, 31 gallon tanks are 12-3/4" deep. I'd be surprised if the 40's were deeper, I just assumed they'd be longer. My parts manual page shows the sender to be different, but it is entirely possible that all 40 gallon tanks that year used a different vent or something...check your 40 and see what the depth is.
Again, all you are worried about is depth, if you find the truck tanks to be the right depth, the sender would be fine. They all use the same fastening method to the tanks, the only difference is going to be the arrangement of the pipes on the sender...vent lines, no vents, etc., but even then, I'd imagine all the TBI stuff US bound had EVAP, fuel return, etc. Right? I just don't see there being any major differences that vintage, except the tank depth.
I don't think the TBI shortbed lines would be long enough. The tank is still on the outside of the frame towards the middle of the rig, correct? The K5 stuff reaches all the way back and wraps over towards the center of the fuel tank. I bent the stock TBI stuff up to fit my TPI app, but it's not ideal up at the front of the motor, but I'm confident it's not going to get worn through.
There were plenty of holes in the drivers side frame already for the large self tapping screws such as used on the passenger side frame rail, I just used those with clamps to solidly mount the fuel lines. I still need the bracket to hold the fuel filter though.
If you want to pay, you can get the Saginaw to AN adapters, but you'll need at least 4 (tank and fuel rails) plus however you want to plumb a fuel filter. That'd make 6 if you wanted to use a stock TBI or TPI filter. Last I looked those adapters were right around $8/each. Added up too fast for my cheap self, so I just took the stock lines, a hand tubing bender, and straightened then re-bent the stock lines as good as you can re-bend fuel line.
The flex lines from the tank to frame and frame to fuel rail use the same fitting as GM FWD junk, and those are real easy to get in the wrecking yards. Most are very similar in length to the GM stuff, but I stumbled across a set that was a few inches longer, which can make routing a bit easier.