A simple google doc add-on allows you to add a gray box with or without selected text.
- open a document in google doc
- select the text you want to add box with
- find "Box It" in the Add-ons menu
- click "Add Box" and voila!
Note: if you want to start without a text box, you can add it anywhere you want by simply click on the same "Add Box" button