340 Stalling Hot???

I just went through the same exact thing. If you have a fuel pressure gauge or a clear fuel filter(so you can see if it not getting fuel) it will help you find out if the problem is fuel related. I would loose pressure and also my filter would slowly go dry AFTER the motor got hot.... ran perfect until it got hot. The car stalled on me a few times so I started looking to find the problem. I cranked the car up and let it idle until something happened... sure enough it happened. The first thing that happened was my fuel pressure started to fall then bubbles started to pop up from the fuel pump side in the clear filter. Then the fuel pressure fell to 4 psi and then motor started going lean. What I found was my fuel line was not ran properly and was causing vapor lock situation.
Too funny, I read your entire thread on Sunday, and ran out to my car to see where my fuel line was running, and sure enough, it's at the factory location, I was so hopeful, then let down. If you look at my first post, I made sure to note "fuel lines are in the factory locations", because of your post, I wish it was that simple. Anyway, I just picked up a carb rebuild kit, new fuel line that will incorporate a pressure guage, so at least once I get her back together, I'll be able to monitor line pressure when she starts to crap out. Thanks for the reply LOL...