I think you might possibly have some kind of electrical issues. Have the battery and charging system checked out.
Make sure all your grounds are good. Any kind of alarm system/tracker installed?
Maybe make a video and post. Highlighting different inputs that cause the rough idle/stall..
For example, show the rpm gauge while you push the brake pedal, then turn on the lights, AC, shift from park to drive etc.