Few days. Once the offending food is identified and removed from the diet, the rash should go away in a few days. Most likely this is not a true food allergy and is some sort of environmental irritant rash.
Baby rash. It can last for days to weeks depending on the allergic agent.