A piece of plywood would work for the shelf, the secret is bracing it properly. I would but one brace at the back corner, and two toward the front sides. It will have to be wide enough that you can hit studs with all brackets. If the plywood is thick enough, just run 2x4 under the shelf across both walls.
A forum community dedicated to Do it yourself-ers and home improvement enthusiasts. Come join the discussion about tools, projects, builds, styles, scales, reviews, accessories, classifieds, and more! Helping You to Do It Yourself!