Diversification of neuronal subtypes often requires stochastic gene regulatory mechanisms. How stochastically expressed transcription factors interact with other regulators in gene networks to specify cell fates is poorly understood. The random mosaic of color-detecting R7 photoreceptor subtypes in
Drosophila
is controlled by the stochastic on/off expression of the transcription factor Spineless (Ss). In Ss
ON
R7s, Ss induces expression of Rhodopsin 4 (Rh4), whereas in Ss
OFF
R7s, the absence of Ss allows expression of Rhodopsin 3 (Rh3). Here, we find that the transcription factor Runt, which is initially expressed in all R7s, is sufficient to promote stochastic Ss expression. Later, as R7s develop, Ss negatively feeds back onto Runt to prevent repression of Rh4 and ensure proper fate specification. Together, stereotyped and stochastic regulatory inputs are integrated into feedforward and feedback mechanisms to control cell fate.