Moen's "Moentrol" line of valves have one with a diverter already attached that will do what you want. I wouldn't try to order one through a big box store, though. Go to a plumbing supply house for this kind of thing.
Lake County, Florida plumber
Springtime Plumbing Services