Dell's specifications for your laptop say that it supports a M.2 2230 or a M.2 2280. I've never heard of XPG Gammix S41, but I searched for it and it appears to be a M.2 2280, so that should work. Follow the disassembly and reassembly steps in Dell's Service Manual.Look on YouTube for videos showing disassembly of your model. But, be cautious with them, as some use steps or methods that are not appropriate. Use the videos to add to your understanding of what to do, but follow the steps in Dell's manual. Whenever touching components or working inside a computer, wear a grounded wrist strap, also called anti-static wrist strap, ESD wrist strap, or ground bracelet. I know many people do such work without this, but it's a cheap and sensible precaution. Rest the laptop on an anti-static mat or at least a reasonable alternative such as corrugated cardboard.
Does a SSD XPG Gammix S41 work in a Dell Inspiron 14 5415?
SSD