Welcome to the Forum from NH.
Lots of knowledgeable folks here who freely share their knowledge, experiences, and perspectives. Knowledge is power.
I hope that you will become a participating member in the Forum's discussions.
Pics of the truck, please.
You are already receiving sage advice from the knowledgeable folks on this Forum.
Like
@B-train says, I've also had the OEM and aftermarket suspensions on my 07 Yukon XL Denali, the IMO, the OEM suspension is far superior. In full transparency, some folks on this Forum do prefer an aftermarket suspension. The OEM replacement shocks are warranted for life, and when using the preferred places to purchase them, they will cost you ~$350 each.
Go to GMPartsDirect.com, enter your VIN, go to the Suspension section, and look for the exploded diagram of the shocks. You should find what you are looking for along with the correct part number. And, the cost will be significantly cheaper than the local dealer.
You can also check RockAuto.com for similar savings.
Check your RPO sticker inside your glove box, and look for the RPO codes beginning with Z**, 6**, 7**, (6** and 7** for the front shocks), and you should be able to find your exact replacement shocks.