Bad transmissions DO have the symptom of being unable to shift out of/into a particular gear, senor "crappy sol." Not too much pride in the ol' car, eh?
It sounds like have a case of both dying tranny and speedo sensor malfunction. Bad luck to get both at one time.