Welcome to the site.
If you have a rapport with the dealership, check to see if they can get you into another truck, understanding you have signed paperwork and now a bank owns it, maybe it is possible without too much financial burden on you.
Open a claim with GM, they built it, not the dealership, they just sell them. Let Gm know how unhappy you are, they can help, but you have to patient, they have lots of customers, and work with them to be a happy buyer.
And, like I said earlier, which you probably already know,, but are angry, dealership could care less if you dump it on their lot, the banks owns it now, and they will come and get it. You will be on the hook for the loan on the truck, and it will screw up your credit pretty bad (I am assuming you financed the truck).