I'm back home for a short while and have better access to my information.
A key point in this mystery for you. I know you were thinking this may be the motor as the problem or the wall switch but here are a few things to help narrow this down.
You stated when the problem first started, you did hear a clunk, clunk, clunk when the slide motor was started and you tried to bring the slide in. The clunk is the overload clutch tripping. This happens when too much load is put on the slide, the clutch trips to save the motor system. And you said the motor was getting warm after trying this a few times which supports the motor was working just the slide not moving.
Basically explaining this, something was creating more load when trying to bring the slide in then the motor can handle so the clutch tripped. This is normal, the motor is working right. The problem is the slide is creating too much drag for the motor to pull it in.
You also stated the slide had been extended for about a month. And after several attempts the slide did move about 2" then stopped. These symptoms point to excess drag on the slide room that the motor cannot pull in.
This excess drag often times comes from slide seals that are stuck or very dry and the friction is very high. The best way to prevent this excess drag is to lube the slide seals regularly. Every few months. The 2 sides and the long top seal, both inside and out need to be lubed. Spay the lube on a rag and then wipe it on if needed to not make a mess. You can use liquid silicone spray on the seals as it will help on the high friction and not affect the rubber. Or the RV stores have "Slide Lube" which is similar.
I use 303 Aerospace UV protectant as slide lube. This helps prevent the seals from drying out with exposed to the suns rays. They remain more flexible and not so sticky.
If you find the slide stuck out or stuck in, first is to make sure that nothing has fallen into the slide travel path blocking it. Next is to "help" it break free from being stuck. You first press the extend or retract button and "stop" pressing when the clutch trips or nothing moves. Do not reverse the slide, leave the pushing pressure on.
On a slide that will not move "out", (it is stuck in) then push/rock the top of the slide room wall (not the bottom). Once it moves some amount at the top, then the slide seals are starting to break free. Then try the motor again. It may take a few times of this to break it free.
On a slide that is stuck "out", (will not move at all in) the clutch may trip instantly when trying to move it in. This is a little harder to unstick but you do the same thing. Reach up as high as you can (not down low) and push/rock the slide outside trying to get to go in. Once there is some rocking movement, then try the motor again.
If in either stuck situation if the slide is really trying to move and it is very hard, try the liquid silicone spray on the seals. You may have by hand pull the rubber slide flap back to get the silicone behind it between the rubber and the slide of the slide. Even if you do the 2 end walls and not the long top seal, you greatly lowered the friction.
Slides that have not been regularly lubed with a UV protectant of some kind can get stuck in 1 to 6 months time of not being used.
To sort out, is it stuck or is it the motor? If the motor has turned and grunted at least or the clutch trips, then the motor and the wall switch is working. This then points to stuck slide seals or something mechanically stuck in the travel path. Look for something stuck in the slide travel path first.
If the "first time" you try the slide and the motor does not move at all, nothing, then this points to a problem in the motor system. The 2004's have a 30 amp self resetting circuit breaker in the front header junction box to protect the slide motor. If you try the motor one too many times and it heats up, the breaker will trip. Then it takes time to cool down and self reset to try it again. How long, maybe 5 to 10 minutes. If you were trying a lot and it stopped, then worked later that could be the self resetting circuit breaker that tripped and then reset.
The pic of your slide motor does not seem to be what I would expect in a 2004 T-280SR super slide (couch and dinette slide) front kitchen camper. Can you take some more pics of the slide drive system under the camper? I can then for the future help you sort out what brand motor drive you have if you even need one. Also look on the VIN sticker on the front left of the camper for a "Build date". You might have a real early T-280SR and they uses the Barker system and not the Lippert system that the later ones have.
See this post on a 2004 T-280SR that the slide drive pins were sheared off using the manual hand crank on a slide that was stuck. It shows the slide drive. Try and get similar pics of yours. http://www.sunlineclub.com/forums/f7...ins-10564.html
Hope this helps