Had mid upper quadrant abd pain periodically. One day I vomitted and it was brown and smelled like stool. Haven't had it again since, what was it?

You may have ulcer. Gastritis or ulcer in stomach can cause bleeding;that may be brown material vomited. You definitely need evaluation by your physician.
Evaluation. An obstruction in your small intestine can give you emesis that smells like feces, but your history doesn't seem consistent with an obstruction if this severity. I would suggest a physical exam and possible an endoscopy to evaluate you.