If I read your question correctly, then select one item (say the rectangle) and then press and hold the SHIFT button and click on the text.

But, surely, your question can't be how I read it?!

Also, if you can see both object clearly on the page, then use the Selector tool to marquee select both objects.