Vanadium dioxide (VO2) material stands out in the family of the phase change materials due to its temperature-dependent phase transition properties, which make it a promising candidate for the temperature-dependent optoelectronic devices. Enhancement of the Goos-Hänchen (GH) shift is essential in VO2-based nanostructures for their applications, but it has been limited to the multilayered structures with VO2 materials so far. Here, we theoretically investigate the GH shift and corresponding reflectance in the VO2-based grating structure. We evidence that this structure has two GH peaks ( and ) and high reflectance values (both up to 1) when VO2 is in the insulating phase as well as the maximum GH valley () and low reflectance (0.19) when VO2 is in the metallic phase. The electromagnetic field distributions in this hybrid structure suggest that the guided mode resonances (GMRs) can be excited no matter whether VO2 is in its insulating or metallic phases due to the couplings between the incident waves and the adjacent evanescent diffracted order waves, which produces their enhanced GH shifts. Different from the former case with the high reflectances and the large GH shifts, the latter has the low maximum magnetic field intensity due to the lossy property of the metallic VO2, which leads to the low reflectance and small GH valley value. Additionally, we have also found that by the alterations of the temperature-dependent conductivity of VO2 and the geometric parameters of the structure allows for the control the magnitude and position of the GH peak or valley. The simultaneously enhanced GH shifts and reflectances in the VO2-based grating structure, associated with its controllable features, enable it an effective configuration for establishing the temperature sensors and optoelectronic switches.