Combining with an aryl hydrocarbon and transmitting the signal to initiate a change in cell activity. The aryl hydrocarbon receptor is a ligand-activated transcription factor which translocates to the nucleus to activate transcription upon ligand-binding.