I was looking up maps to support my statement above and found that I was wrong. You are correct about those dates
I don’t know if we have evidence for the language spoken at that time in that region. The modern Azerbaijani language is close to Turkish, I think. The name comes from the ancient Media Atropatene—named for a person named Atropates who fought on the Persian side at Gaugamela but later sided with Alexander and received that region in the breakup of Alexander’s empire. So maybe it was a Median-speaking area in the first millennium B.C., but maybe it had a different language in the second millennium B.C. I don’t know when the Iranian languages spread to that region.