Set command for changing atom type for each N time steps

can we use set command for changing atom type in simulation for regular time step? if there is any other way to change atom type during simulation please let me know.

No.

There is no specific command that does this, however, you can break down your simulation into a loop of many small simulations and then make changes in every loop iteration before running for N steps.

Thanks !