Interesting story, I was experiencing exactly the same problem with my KZJ78 - its been in storage for around 6 months and I got it out today - started first time and ran wonderfully of course but I noticed on the local A road that the overdrive wasn't kicking in. Tried various combinations of o/d ofhttps://on, ECT power, stopping and starting the engine etc and finally resigned myself to the idea that there may be a dead capacitor in the ECU.
I got home and tried a google search firstly to check the location of the ECU and secondly to work out what to look for - and after reading this post it turned out I had knocked in the 4WD button with my knee - manual hubs so really I'm not sure if the 4WD button even does anything... Thanks! Overdrive now working as normal!
***Plot twist***
My KZJ78 is in fact the very same vehicle from the original post by Graeme