You mean it stalls at or near idle speed with the transmission in D, but not in N or P? It could be a tranny problem, but that wouldn’t be my first guess. More likely some kind of idle control problem or fuel/air mixture problem. Check the IAC control and vacuum leaks. What’s the recommended maintenance schedule look like for this vehicle? Any scheduled maintenance been deferred?