@toobladink I had both of those codes (P0171 and P0174) occur on a few occasions on my '99 SOHC. The first time, both codes appeared during the cold part of winter (around 15 F, here) and stayed once it warmed up, so I replaced the O2 sensor. In my case, I could easily identify that the O2 sensor was malfunctioning because it was idling rough, consuming excess fuel, and lugging on acceleration - all symptoms of flooding, which means that it was injecting excess fuel due to a faulty sensor detecting a nonexistent lean condition. Not sure if the cold weather affected it or not. Replaced the O2 sensor, and the codes did not return.
The next year when it got cold, both of those codes came back, but went away once the weather warmed up.
Incidentally, I also had recently installed a K&N air intake (entire assembly) before the codes first appeared. It may be a good idea to disconnect the battery to clear the PCM patterns when changing the intake, because the PCM "learns" to control the engine over the first couple of drive cycles after reset. If it learns to operate the engine with the original intake and then you install a different one, it will be getting a lot more air than it has come to expect, which can in turn affect how it responds. While theoretically, this difference shouldn't be enough to trigger the CEL, it isn't impossible that resetting the PCM will make it learn how to work with the new intake.
Observe the symptoms of the problem; if it's actually running lean, the temperature should run higher then normal. If it's showing symptoms of running rich, replace the O2 sensor (it was like $20 a few years ago), clear the codes, and see what happens.
And listen to
@410Fortune, he knows what he's talking about!