You could try putting a dose of fuel injector cleaner in the tank. Chose the concentrated type designed to give noticeable results in just one dose on injectors that are already dirty. Not the cheaper ones designed to prevent the injectors ever getting dirty in the first place when used in every tankful over a long period.
If any injectors are not running smoothly or giving a good spray pattern I believe an excess of petrol can build and the engine runs 'rich'. But if the excess petrol is 'burned off' and the engine once again achieves the ideal 14.7 :1 air fuel mix the engine starts to run better , with a surge. It might even use some of the excess petrol build up like its more throttle input. Rough running at tickover may be in effect be mini surges.
There may be other causes of the surging such as spark plugs, coils, air filter, fuel pressure etc but I think a dose of cleaner might be worth a try initially.