upper rpm break up

Could have a plug wire or wires bad. Even a bad plug. Msd, I would think would be bad all the time. Anything electric tho can cause some goofy stuff.