Nissan Repair Questions? Ask a Mechanic for Answers ASAP
There is a brake switch on the back of the brake pedal, if that switch is going bad it will cause this problem. I would replace the switch.
If this information is helpful, please accept my answer and leave a positive rating before leaving the site.
Do you need further assistance with this question?