It only happens when I refuel and then drive and everytime I come to a complete stop it drops RPM from a normal 1k to 500 and then goes back up to 1k I am not sure what’s wrong I use 93 premium because I got 2017 mustang ecoboost twin turbo. Haven’t stalled yet after driving for maybe 20 min it never does it again. Please help?
I'm not very experienced on this subject, but these are my thoughts:
The problem may have to do with the air pressure inside the fuel tank. When you remove the fuel cap, the pressure is equalized to the surrounding air pressure.
When you're driving, fuel is sucked out of the tank which could cause the air pressure inside the tank to drop. (it causes a small 'vacuum').
Maybe this is somehow related? Maybe something in the evap system is broken? I'll leave the answering to someone more experienced, but hopefully this puts you in the right direction.