This is the escalating attack named Durchwechseln (changing through).
Escalating Attacks are offensive combinations that increase pressure on your opponent until you decisively finish him off. Every attack has its special purpose and fits a specific situation, and thus should be avoided otherwise. Your opponent greatly influences the situation, and he should be studied to determine your correct escalation.
to watch this video and see this technique explained in detail