The beetle you are describing is likely a burying beetle. Burying beetles are carrion beetles that feed on and bury dead animals. They are typically black with two orange stripes on their backs and range from half an inch to one and a half inches long.
Burying beetles play an important role in ecosystems by helping decompose dead animals and recycle nutrients.