Simulation of the dynamics of strongly interacting macroparticles in a weakly ionized plasma