Dizzy and upset stomach!

Can the 2 be related? Anytime I eat heavy meals and/or i get an upset stomach, I get dizzy. My body starts shaking and sometimes I almost pass out or do completely pass out.