I've actually figured it out after a while. I’m not a good programmer though, so it’s probably not too elegant. You need the following:
-a for-loop
-a defined variable for the on-time of your engine (I used the term "BurnDuration")
-a defined variable for half of the BurnDuration (I used HalfBurn)
You initialize the for-loop, propagate backwards with the time of the HalfBurn (it's imperative that the number is negative or else it won't work), BeginFiniteBurn, propagate Burnduration, EndFiniteBurn, Propagate back to the starting point, end the for-loop.
%Variables
GMAT 'Set K' K = 8; %the number of loops you want
GMAT 'Set BurnDuration’ BurnDuration = 20000; %the number of seconds that your engine should burn
GMAT 'Set HalfBurn’ HalfBurn = -0.5*BurnDuration;
%MissionSequence
Propagate ‘Propagate to Perigee’ EarthProp(SC) {SC.Earth.Periapsis};
For 'For Phasing' I = 1:1:K;
Propagate 'BackProp HalfBurn' BackProp EarthProp(SC) {SC.ElapsedSecs = HalfBurn };
BeginFiniteBurn 'BeginFiniteBurn’ FiniteBurn(SC);
Propagate 'Prop BurnDuration' EarthProp(SC) {SC.ElapsedSecs = BurnDuration};
EndFiniteBurn 'EndFiniteBurn’ FiniteBurn(SC);
Propagate 'Prop to Perigee' EarthProp(SC) {SC.Earth.Periapsis};
EndFor;