Your goals are admirable, and I think you're on the right path. Do you have some product or company idea in mind already?
The one piece of advice I'd like to give you is, there's no need to rush. There will be plenty more YC intakes, and you'll have tons of good ideas - learning to execute on them by trying a bunch of different stuff is the best way to get there, and to do that you need to give yourself time to learn.