2014 Nissan Sentra note died on me at a stop light, would rollover but not stay. Then eventually started and I could get off road. It was struggling to idle for a bit, a day later I started it and it started fine and didn’t struggle like before. It’s always idled really low rpm’s. Only 90k miles on it. Is it a fuel pump or something else?
Absolutely no way for us to tell you over the internet. It definitely could be, but it could also be something else. Take the car to a professional and have it diagnosed before shotgunning expensive parts at it