Gear changes in automatics are controlled by solenoids.
They are a replacement item but dependant on where they are located would mean the difference in labour costs (once it has been diagnosed).
It may be cheaper to replace the whole gearbox with a good used one.
could always be a simple wiring fault to the solenoids.