Replace one of the stack switch

Hello Team,

We have four OS6560-P24X4 switches that are stacked. Switch #4 is faulty and needs to be replaced. We have a brand-new switch with the same AOS version.

How can we add it to the stack and have it receive the configuration from the master? Should we simply connect the stacking cable?

Configuration will be pushed from Master or primary switch of the stack to the new switch, when you connect stacking cable, Switch will reboot once or maximum twice after fetching the configuration.