Can you help me find a replacement for IPS521S?

I can’t find any relevant replacements and they are discontinued.

If you can, please help to attach the digikey purchase page. Thank you!

Feel free to try out our new XRef tool:
Digi-Key: Cross Reference Search (digikey.de)

Similar options are:
BTS441RGATMA1 also from Infineon Technologies as IC PWR SWITCH N-CHAN 1:1 TO263-5
or
VN920DB5TR-E from STMicroelectronics as IC PWR SSR HIGH SIDE SGL P2PAK