If you want to work in industry for 3-5 years, I would do that either before or after graduate school, not in the middle. Once you've started graduate school (at least in a research program) and you're happy with your adviser/program, it will be a net loss of time if you leave school, work for 3-5 years, and then need to go back to school again.