Seems like a great price on the truck but I'd be cautious about that camper and give it a very through walk through with a moisture meter. Even if it is in good condition, count on having the roof resealed (~$500 to ~$1000 depending from a RV service shop) at a minimum before you take it outside unless you know it's been done in the last year or two.
Unless you absolutely have to have a new truck, if your budget is around ~$40k I still think a used combo is a much better way to go. I took a look at my local Craigslist and found these two deals as an example of what can be found:
2005 Truck + Camper Combo2000 Truck + Camper Combo