Crusaders secured their Irish Premiership status after winning a dramatic penalty shootout 3-1 against Annagh United in a playoff decider.