1: learn the business skills as you go. Difficult, but we see successful examples of this (perhaps outlier; selection bias). The biggest difficulty is balancing your time between competing needs, but you must have that skill if you wish to be any kind of founder.
2: find a businessy person to partner with as co-founder. Risks, but this is the path YC tends to recommend. Good comments about this made here: https://news.ycombinator.com/item?id=38477057 - so much is relevant even though it is from the other side (business guy looking for techo).
The software builder path you envision is typically strewn with failures - possibly just because failing is the default for a startup. I have seen plenty of very capable engineer-types try to succeed using your plan: I think the most common reason for failure is building something that nobody wants to buy.
IMHO good engineering is making choosing great compromises. Business decisions are also about compromises. Spend your time wisely, and most importantly avoid wasting time on stuff that isn't key.
I wish you the best of luck, and good skills.