Two things come to me from this passage.
Moses, for example, said, “From among your brothers the Lord God will raise up for you a prophet like me; you will listen to whatever he tells you. Anyone who refuses to listen to that prophet shall be cut off from the people.”
From the context I gather Moses did not have in mind one particular prophet but any prophet in Israel who spoke for God. Largely on the strength of Peter’s witness later Christians (including first Friends) would interpret Moses words as pointing squarely at Christ Jesus – not simply a prophet like Moses but the prophet like Moses.
So then, real Christian faith — entails listening to whatever Jesus tells you. And refusing to do so constitutes ground for being cut off from the people — excommunication – shunning – reading out of the meeting.
It was for you in the first place that God raised up his servant and sent him to bless you as every one of you turns from his wicked ways.
Blessing is contingent upon turning away from evil and doing good. This is not the gospel as I learned it from my InterVarsity friends back in university. For them conversion was about changing your beliefs. God calls us to turn from our wicked ways.
Listening. Obedience. Doing good.