318 vacuum advance

Hi I have a stock 1969 318 in my Dart. My issue is I just replaced the distributor with a new one from Autozone, and when I hook up the vac advance anything over idle it pops out the exhaust. I disconnect it runs great. I’ve tried all different timing with no results, I am running a msd box with a factory dodge electronic distributor . Any help is appreciated.
OK. lets start at the begining.
What timing is it set at now?
Chrysler had many different advance curves and timing specs. Basically a different one for every engine combination.
So whatever you got from AZ is likely different (internally) than what you removed. Do you know anything more about either distributor?

Second, lets go over setting the initial timing.
First the vacuum advance should be disconnected and the hose from the distributor plugged with a golf tee. (Or equivalent)
Second. Set the initial timing at as low of an rpm as you can get it to idle. Write that rpm down. Depending on the distributor you got, it may or may not already be advancing.
Third, reconnect the vacuum advance. Timing should not change if the engine is at slow idle. Or if there is some vacuum advance added, it should be only a couple degrees.