92 chevy blazer

I have a 92 Chevy Blazer when you put it into drive the motor stalls out . I’m wondering if it could be a solenoid problem or possibly a vacuum issue