Note that "als" is a subordinating conjunction, but "dan" is not. So after "als" your word order needs to put the verb at the end of the clause, whereas after "dan" you use V2 word order in a main clause:
ik ga als jij gaat
ik ga dan ga jij
Note also that since the verb precedes "jij" here, it has a clipped rather than a full ending.