I had a similar problem and changed out the IAC (Idle Air Control) valve. Fixed my issue.
If you yours has never been changed I would start there especially since you can't keep it running to take anywhere. When I took old one out there was some c**p inside that I cleaned out before I installed new one. Just a guess from my experience. Good luck and keep us updated on what you find out