Yes, you'll be within the towing limits. Your maximum towing cap. is 3240 if you're 4x2 and 3380 if you're 4x4. Legally, you'll also need some kind of trailer brakes, either surge-type or those controlled by a brake controller in the truck.
Keep in mind, though, that you have a GCWR of 7700(4x2)/8000(4x4), so with a 3000 pound trailer, you only have a few hundred pounds worth of cargo in the truck itself before you hit the GCWR. I would recommend getting your truck weighed with the trailer attached to see how close you are to hitting the GCWR before loading up for a trip.