Do not do this until your youngest child is at least 4.
There is no profession better matching what women in western countries expect from a co-parent than tech. The money first and foremost, but the flexibility to work (more accurately, pretend to work) remotely, too.
Let me reiterate:
For your marriage, do not do this until your youngest child is at least 4.