Machine learning based approaches are emerging as very powerful tools for many applications including source classification in astrophysics research due to the availability of huge high quality data from different surveys in observational astronomy. The Large Area Telescope on board Fermi satellite (Fermi-LAT) has discovered more than 6500 high energy gamma-ray sources in the sky from its survey over a decade. A significant fraction of sources observed by the Fermi-LAT either remains unassociated or has been identified as Blazar Candidates of Uncertain type (BCUs). We explore the potential of eXtreme Gradient Boosting (XGBoost)- a supervised machine learning algorithm to identify the blazar subclasses among a sample of 112 BCUs of the 4FGL catalog whose X-ray counterparts are available within 95% uncertainty regions of the Fermi-LAT observations. We have used information from the multi-wavelength observations in IR, optical, UV, X-ray and γ-ray wavebands along with the redshift measurements reported in the literature for classification. Among the 112 uncertain type blazars, 62 are classified as BL Lacertae objects (BL Lacs) and 6 have been classified as Flat Spectrum Radio Quasars (FSRQs). This indicates a significant improvement with respect to the multi-perceptron neural network based classification reported in the literature. Our study suggests that the gamma-ray spectral index, and IR color indices are the most important features for identifying the blazar subclasses using the XGBoost classifier. We also explore the importance of redshift in the classification BCU candidates.