Parent the text layer to the shape layer. Animate the shape layer using the layer transform controls and not the shape transform controls and the text layer will follow. If you are using shape transformations like Transform Rectangle 1 then you'll have to use expressions to tie the Text layer to the Shape layer.
The other option is to convert the text to shapes and then cut and paste so they are on the same layer. I would not recommend this workflow because you are cutting off your editing options. Parenting is the easiest way to go.
Ok, thanks for your response. Could you possibly send me a link to how parenting works?
Type parenting in the search help field at the top right corner of After Effects. You'll find a lot of links.
Sounds like you are new to AE. Make sure you take the time to go through the basics. Start here: Basic Workflow
I see, thanks for you help.