Sambucus nigra?
There appears to be no good treatment for Sambucus complex in the Sonoran/Madrean/Sky Island region. This photo is of the high-elevation version, which generally grows at 7000 feet of more (and is not red elder, Sambucus racemosa).
In Arizona and Sonora this elder appears to be quite different looking and prefers very different habitat than the lowland version, often called Mexican elder. The Mexican elder prefers 2000 to 5000 feet and has much wider and greyer leaves and a white, powdery substance coating the berries, which is totally lacking in the mountain variety seen in this photo.