My '99 Maxima's
Check Engine light came on recently. I whipped out my OBD-II reader, and pulled off two codes.
P0325 (Knock Sensor)
Reading online it appears the knock sensor code is pretty certainly a side-effect of the TPS code. And the common symptoms of TPS (e.g. sputtering while idle) are occurring in my car. I'm pretty certain I could mechanically replace the TPS myself, looking at directions and pictures online, but what I'm unsure of is whether this is repair as simple as just swapping the part out, or if the on-board computers need some kind of recalibration or something afterwards, in which case I'd just take it to the shop.