Say I plan on moving to lakewood in 2 years. Would it be feasible for me to buy now and rent out both parts and then just take downstairs for another year or two. Is there a gain or would it not be worth it as there are taxes that I don't know about if one doesn't love there?
Taxes are high in Lakewood but no different if you are a resident or not. Before you buy you obviously need to make sure that both upstairs + downstairs rent = mortgage + taxes + maintenance costs + association fees if applicable + maintenance costs, which should hopefully be low in a new house
The gain would be that you are beginning to pay down principal immediately even before you move to Lakewood. You are risking that the market may go down - I know people say that's impossible, but it may be equally impossible for the market to sustain current prices. Nobody really knows, it could go either way. Also, do you have a plan for collecting rent and taking care of issues before you move to Lakewood?
Additionally, make sure you can afford some months with one or both part of the houses unoccupied...