I have a 2006 nissian altima with 131000 miles that won't start. I used obd2 to test for codes and p0335 which is the crankshaft position sensor. I changed it and solder a new pig tale since the old one needed to go. When I tried starting the car it did not. I'm hearing the fuel pump go on. But no spark and no fuel injector pulse. I checked the relays and fuses and they were good. So I don't know what to do or check right know.
Are you still getting the code? I would recommend replacing the cam and crank sensors together with factory parts . I have had repeated no starts after using aftermarket sensors until a factory one was installed. Nissans generally do not like aftermarket sensors
https://www.engine-codes.com/p0335_nissan.html
Also, have a read through the FAQ section for cranks but won’t start.