At 4000 revs you won't have done any damage.
It's entirely possible that you have disturbed something else, fave are around there is the cps connector, try a wiggle test on it, one wiggles it while the other turns the key.
These connections can give mental problems with all manner of odd misfire symptoms.
Did you do a stat at the same time as the pump ?
tabetha