Is your replacement MAF a Mazda OEM part purchased from a Mazda dealership??
I had the same issue with my MS6 and went through a lot of the same trouble shooting with the Turbo, Wastgate, vacuum lines, etc. that you're going through.
I later found out the MAF I bought through an online auto...