I know there's a common problem with most early 3.3's with knock sensor codes but it mostly pertains to relocating the sensor and doesn't cause a misfire. Not sure if it affects 2.4's. Have you checked fuel pressure? And all the injector resistances are the same? (unlikely but the offender will be way off the other 3).
Recheck all your work then try this for help: troubleshootmyvehicle.com › Nissan › 2.4L, 2.5L
The guys got a pretty good trouble shooting tree with logic you'll understand.