Restrict Particle force influence by Area
Use the Falloff on your effector, enter a power value (here 4.3) and limit it's maximum distance to whatever suit your scene.



Also add a drag force, and set it up like in the screenshot, to avoid the cubes flying away after they were pushed (the drag isn't shown in my gif just to be clear).