Where are you located? Personally I am located in Sweden and have some tips and tricks here, but my knowledge is limited outside here sadly. Personally, I applied to a coding bootcamp and worked my way up because I knew for certain that I wanted to become a developer, and didn’t want to mess with the “other stuff” that a university program implies. I had some very limited previous experience with coding. Most countries usually have something more “job specific” and shorter than a uni program, and in that case I would recommend something like that!
Most important of all: Please just DO IT. I worked as a lathe mechanic for years longer than I should have. I was just scared of change. Now, I am happy every single day to go to work, because I remember how hard my life used to be. Take my advice and don’t be afraid, if you feel like a job in IT would fit you better!