I don't truly understand your question. It sounds like you want to add a border to a text box, but that kind of thing isn't the domain of Photoshop. That's what InDesign is for.
In Photoshop, you'll just put the text on one layer, and the box on another layer, in the usual manner.