Evolutionary status of the spectral variable BD + 48°1220 = IRAS 05040+4820