You got it right.
When you file for n-400, you will need to fill in white and black how many days have you been outside US and for what purpose, along with n-400 you are required to send in 3 or 5 years of tax transcript. Your plan doesnt' sound very promising if you want to claim your citizenship in a couple of years while you are away.