Why and how was the slide motor failure diagnosed. Slide motors often shut off on internal protectors due to the slides being
gummed up. The slide will go out a foot then stop, out a foot then stop. Cleaning the slides then adding silicone ,not grease, oil,wd or anything that will collect dirt,
has remedied my bedroom slide many a time. Also, if you are looking at the slide from inside the coach, seal all entry points for plumbing, electrical etc.
I camp in the desert, dusty ,dusty, dusty. The fine silt was getting into my coach and sticking and gumming up my slides. Once I sealed those entry points my issues have lessened dramatically.