For the past week I've been having stomach aches after I eat within 5 minutes of eating I'm in the bathroom having diarrhea what could it be?

Stomach ache. It sounds like when your food hits the stomach, it stimulates your colon to contract forcefully propelling its contents to leave your body. Normally, this occurs after breakfast and is considered normal, although, with less discomfort than what you may have. Each eating session resulting in a bathroom trip is definitely abnormal. I would recommend history and physical to start with to detect cause.