The other day my check engine light came on and it read code P0332(bad rear knock sensor). I had been noticing terrible MPG, sluggish acceleration, random jumps in RPMs, a sudden quick jump in acceleration every few seconds(cruising and I can feel the car pull forward for a second then go back to normal and the do it again, nothing noticeable on speedometer), and I can hear a misfire(no code).

Does anyone have any tips on replacing the rear knock sensor on a 04 GP gt(just hit 70k)? Also, is there anything thing else I should look at that could be causing this issue?