As far as i know if they are between 03-08 it should just bolt up. But they also have the same transmission in a toyota matrix and a pontiac vibe. Not sure of the year on those but i know thats where my transmission came from.
The transmission in mine went bad also. Its like a grand for a rebuild kit. I ended up finding a local low tech junk yard that didnt know what they were worth sell me a used one for 200.
My stock clutch lasted clear up to 282,000 in my 04 5-speed and it wasnt even bad when I pulled the transmission. I just figured id put a new one in when i put a new transmission in.
If i stall my 04 corolla le which luckily doesnt happen often, it tends to not turn over. I have to click the key over like 50 times until it tries to start. Thought maybe it was the clutch switch or something.