Marshes & Shepard ran from 1828 to 1850. The company was dissolved in 1850 and became Marsh Brothers & Co. which is the stamp on your razor.
This information comes from Tweedale's Directory. There is about 2 pages of information about the company and the dates don't match yours. Just trying to be helpful with the dates.