Shared transcription factors contribute to distinct cell fates