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?