This plugin for RPG Maker MV (should work for MZ as well) moves any event marked with to the player.
Copy playerFollower.js to project folder > js > plugins
and then select the plugin in the plugin menu.
Create a new event on the map and add <player-follower>
to the event's Note
section. Make sure to set Priority
to either Above characters or
Below characters`.