Sorry for your loss. This does go into a 50A socket, but the other end is a twist lock not often used in RVs.
If I understand your problem, you need a https://www.amazon.com/GearIT-RV-Dogbone-Adapter-14-50P/dp/B07ZL4QCBZ/ref=sr\_1\_3\_sspa?crid=NVPI8BNT1DVQ&keywords=camco+30+amp+to+50+amp+rv+adapter&qid=1667582266&qu=eyJxc2MiOiIzLjU2IiwicXNhIjoiMy41NiIsInFzcCI6IjMuMTIifQ%3D%3D&sprefix=cameo+30+a+to+50%2Caps%2C232&sr=8-3-spons&psc=1