Well without diagnostics you'd just be guessing and so would I, and this often wastes money. Modern cars need to be carefully diagnosed by electronics. The codes only tell you the circuit that is in distress, not the actual faulty component.
The only other things I could suggest is to make sure the new MAF is installed in the right direction (arrow toward the throttle body); then check for vacuum leaks using something like carb spray; then check for corrosion or water intrustion in the MAF connector, or wiring problem going from the MAF to the ECM.
After that, there's not much you can do on your own.