Possible milk protein allergy?

Shelby

Little one has had a tough time with all the formulas we have seemed to try. Her poop tonight had a brown mucus chunk in it and I am not sure what to think. Any advice?