If you've tolerated milk chocolate well & tolerated dark chocolate previously, a new food allergy
is less likely.
Too much of anything can upset the stomach! hold off on anything chocolate for at least a month (you may not want to be near it anyway after it made you so sick), then try only a thumbnail-sized amount the first day. It's healthiest to stay with only small amounts of any treats, too.