We propose a phenomenological unified model for dark matter and dark energy based on an equation of state parameter w that scales with the arctan of the redshift. The free parameters of the model are three constants: Ω b0 , α and β. Parameter α dictates the transition rate between the matter dominated era and the accelerated expansion period. The ratio β/α gives the redshift of the equivalence between both regimes. Cosmological parameters are fixed by observational data from Primordial Nucleosynthesis (PN), Supernovae of the type Ia (SNIa), Gamma-Ray Bursts (GRB) and Baryon Acoustic Oscillations (BAO). The calibration of the 138 GRB events is performed using the 580 SNIa of the Union2.1 data set and a new set of 79 high-redshift GRB is obtained. The various sets of data are used in different combinations to constraint the parameters through statistical analysis. The unified model is compared to the ΛCDM model and their differences are emphasized. PACS numbers: 95.35.+d, 95.36.+x, 98.80.Es