You may change factions once per character, but your reputation will be reset, and there may be consequences for betraying certain factions.
Marines and Bounty Hunters may face consequences for trading with Pirates and Revolutionaries. Similarly, Pirates and Revolutionaries may face consequences for trading with Marines and Bounty Hunters.