You can switch as long as you know the difference between the two and how to practice them properly. Then again, alternating between focusing on a concept and focusing on reality in such quick succession might end up slowing down the progress of both techniques.
What do you expect out of meditation? Is it to experience a calm blissful state to rest? Or is it to attain enlightenment? Figure out what you need and pick the technique that would achieve the intended purpose.