Ok, I've got several little problems that I need to fix but idk whats causing them.

The problems that I've got; "low input to knock sensor 2" & "running lean banks 1 & 2" when scanning the car. I've also got an idle/driveability problem. Sometimes the car idles at up to 2500RPM's other times while driving the the RPM's are way above what they should be. 2500-3000 while cruising at 60MPH etc, & when I let off the gas the car keeps its speed or it accelerates on its own .

I'm guessing the car's running lean because of the ZZPoof PCM or clogged fuel injectors? Everything else I have no clue whats wrong. I needs help please