You can change your allegiance to a different faction by navigating your profile under the social tab. You will be able to change factions here; however, note that you will not receive any Faction War rewards once you have changed.