When I'd started college a long time ago, I couldn't decide between Computer Science or pursuing a legal career. I went with CS, I didn't love the CS program, so I switched to Electrical Engineering and eventually got my masters.
As it turns out, I ended up in a software career, but about 5 years in, I wondered about the road not taken, so I looked at what it would take to get into a legal career. Many law firms hire Engineers to do patent work and will pay your salary AND pay for you to attend law school, so I applied for roles and got one at a big law firm. I ended up not pursuing it all the way for personal reasons, but it was definitely a possible path to switch from Engineering.