2007 Nissan Quest not starting

I have a 2007 Nissan Quest S. 2 days ago, the gauges stopped working, but I was able to drive it home. Once home, I couldn’t get it to start or shift into neutral. The next morning, I unhooked the battery for 15 minutes, reconnected it and the gauges worked and I was able to shift out of park. Still wont start though. Any ideas what’s causing it?