Now that you have shared more info on what is going on it sounds like the charcoal filters in the fuel purge system are contaminated from over filling the fuel tank. A new purge valve should not go bad immediately and the replacement throwing DTC codes indicates there is still a problem with the purge system. When the purge valve sticks open it is a vacuume leak as @MTF mentioned and a vacuume leak will cause an irratic idle condition that can cause the engine to die.No check engine light on while this happened the other day.
I’ve cleaned MAF sensor and throttle body.
Air filter is brand new.
I didn’t know a vacuum leak could cause that symptom though. I have been having trouble with my canister purge valve. Put one on and it immediately went bad and threw the code so I put another on and now when I fill all the way up with fuel it’ll throw a code and go away after a bit and when it gets all the way low it’ll throw a code so something isn’t quite right. I haven’t checked trans fluid yet but I intend to. Once the truck gets going it shifts like butter. I thank you all for the help