318 block/340 heads?

not sure what you mean by floats off idle im going to assume you mean the valve from lifter pump if this is the case check the valve spring make sure its ok if there weak you will get the same thing