so just for motivation purposes. I have been working as Testmanager and also for functional tester for many years. I am in same position like you, changed it to Automtion engineer - and surprise - at the age of 38 years!
There are few steps how in my way it worked:
- Broad your technical skills like Java and/or Phyton with Focus e.g. on automated Framework
In my case, I used Java with Selenium. There are couple of Online "How-to-dos" in generating testscripts e.g.
Art of testing Selenium
Appium Tutorial with selenium
In my ways I searched for different Online Tutorials starting with the very low level beginning of programming.
- Learn with Online tutorials
I also started to broad my skills in Java (because we uses Java + Selenium) on free online Courses like Sololearn. There I Tried to broad my skills in Java and it helped me to understand the object-orientated programming language better.
Also very helpful is Angie Jones blog in Java
WHAT I DID wrong
Maybe it also helps you, what I did wrong starting my carreer as test automation engineer (at the age of 38). At the beginning I was desperated, because I was trying to much. This means learning different programming languages and using too many frameworks.
Because I was also responsible for checking out the test automtion tools (e.g. SauceLabs, HP QFT, Selenium, Ranorex etc.). At the end I used too many time for research issues (What is the best autoamation tool, what is the best programming language for test automation etc.) But at the end, the test automation procedure works as the same (searching for xpaths / css selectors etc.). So in your case I would try to focus on Java/Phyton and Selenium. This will help you to gain deeper insight how test automation is generally working.
And afterwards you can broaden your skills step by step. That´s also what I am doing.
Now I am 40 years and still learning... :-)