Its the ignition switch change it and that will stop the problem
buy a new one
In front of the battery
clean the battery terminals that should fix it
Pop you hood. to the left of your battery there is a fuse box. Open the fuse box. On the side closest to the battery, remove the first fuse labeled "20". That is the fuse for the stereo and radio on a 2004 nissan maxima.
Nissan Maxima
1992 nissan maxima security light flashes when open door and car is not starting cranks well, cleaned battery terminals.
Look at 'where is the starter in a 1998 Nissan Maxima';
A Dead Battery
Nissan Maxima was created in 1976.
You need to BClear.Are you asking if the battery is fine, or it won't crank, but you know the battery is fine?
It will automatically reset itself after you have started the car 50 times after the problem was fixed, or sometimes if you disconnect the battery for a while it will reset itself.
Try the battery. Sometimes it seems fine but it is really not.