Moen and Delta shower valves are not interchangeable because they use different types of fittings.
The cartridge mechanism also distinguishes Delta shower valves from the Moen ball system. Because of this, you can’t just switch out one type of valve for the other without risking harm to the pipes or the valve itself.
If your shower valve is broken and you have a Moen or a Delta model, it’s best to replace it with the same brand and model to keep your plumbing working smoothly.