OP did not mention manure. He said his compost pile was made up of dumped dirt, sand, saw dust, yard waste, and old mulch (probably bark chips).
Nothing with any pathogens and it's been sitting for two years.
Depending on how much proportion of yard waste (presumably green stuff) was to everything else, it may be less like actual compost and more like broken down wood chips. The broken down wood chips are a nice organic product, but very little nitrogen. So if you are using this as a soil amendment, you will still have to add something nitrogen rich.