Thank you for the response. I did take the intake area apart yesterday and looked for potential vacuum leaks. Though the boot itself looked intack (I read that many have cracked), I noticed that the small vacuum line on the "t" was in bad shape, so I replaced it.
The car does have almost 130K miles and an AFE Magnum Force intake with an oiled filter, which is why I wanted to know how to check if the MAF sensor was bad. The filter was horribly dirty, so I followed the instructions and cleaned it, and then slightly oiled it (not my first such filter). I bought some MAF sensor cleaner, and did that while I had it all apart.
I did notice that the MAF sensor readings appeared to be "over time" with the M for minute and the S for second.
So, we'll see if that helped prevent the P0171 and P0174 codes.