In view of the fact that you state that sometimes the transmission shifts normally, all is not all doom and gloom.
The fault more than likely hopefully involves a control function, rather than a mechanical failure.
Make sure the outfit you take it too knows more than the possible depth of your pocket.