It is important to note that while they may look similar to the untrained eye, vehicles go through a lot of updates and changes throughout the years. Even if the models look visually identical, the dimensions and other factors may be different.
It is best to check with the manufacturer and provide the correct model numbers and years of the vehicles to determine compatibility before attempting to install the dash from a 2007 Chevy truck into a 1998 truck.