That doesn't mean it's any good though. New parts can be faulty too. Logging/diagnosing is required as just replacing parts willy nilly can get expensive.
If you are adamant the new MAF is good, then you need to start tracing back wiring checking for breaks, high resistance at plugs etc