Now that we know what engine.... It could be the low side of the stator, stopped up bleeder valve, ECU (computer), fuel pressure (electric fuel pump), bad fuel, ect. These are some of the tings that I have found on a EFI engine that has caused your concern. Does it miss badly when it boggs? How often does it do it?