Ronald D Moore, as a fan of Star Trek, had submitted the story for The Defector for TNG...and then he became a pro-writer for ST:TNG and DS9, (also producer and line producer for those shows) as well as cowriting the screenplays for Generations and First Contact. Not too shabby for a "fan".