2004 Acura TL Automatic Base Model

2004-acura-tl
Recently my 2004 Acura TL has been cutting off while I’m driving. The lights stay on and everything, which leads me to believe that it is not a battery-related problem. The car will restart with no problem but the same problem occurs.