For anyone to automatically buy a replacement MAF Sensor before cleaning it and testing tells me they've got more money than sense. Once you figure out the scheme for removing it, buying the appropriate cleaner (CRC), cleaning it thoroughly and allowing it to dry thoroughly, reinstalling it, testing it and it still throws a code, should one consider spending upwards of $200 to replace one. I've yet to see one that has failed, they were only dirty and none had any visible fouling prior to cleaning as it tends to be almost microscopic.
Dealers love to replace these as they only take a few minutes to do and they make a tidy profit on not only the part but the labor by virtue of the owner's ignorance. Do use only MAF Sensor cleaner, it's not any more expensive than your typical electrical contact cleaner and you won't have to worry about damaging this rather small but significant part. I offer a service of removal, inspection, cleaning and reinstalling them for $50. After the customer realizes that the dealer will take them for upwards of $200 for a replacement since dealers will never offer the option of cleaning them, I make about $40 including my labor and the customer feels (rightfully so) that they've made a good decision in the maintenance of their vehicle. Should I feel guilty about this? I don't think so.