A Generalization of Non-Abelian Anyons in Three Dimensions