340 runninng lean and overheating

Maybe.
My first guess would be inusufficient timing.
Yes.... I was thinking that the ignition timing is very retarded. Advance it to +15 idle timing and try again it again idling. Don't drive it around a lot with this timing until you have found out the total advance timing at higher RPM's when sitting still.