Clarification of the Doubt
Following the Sunnah leads a person to shirk, because Allah the Exalted says:
( إِنِ الْحُكْمُ إِلَّا لِلَّهِ )
Translation: Indeed, the right of judgment belongs only to Allah.
Reply to the Doubt
The First Point
Allah the Exalted swears by His blessed Self and says:
فَلَا وَرَبِّكَ لَا يُؤْمِنُونَ حَتَّى يُحَكِّمُوكَ فِيمَا شَجَرَ بَيْنَهُمْ ثُمَّ لَا يَجِدُوا فِي أَنْفُسِهِمْ حَرَجًا مِمَّا قَضَيْتَ وَيُسَلِّمُوا تَسْلِيمًا
Translation: But no! By your Lord! They will not be believers until they make you the judge in whatever dispute arises between them, then find in themselves no discomfort about what you decide, and submit fully, with complete submission.
And He says:
إِنَّمَا كَانَ قَوْلَ الْمُؤْمِنِينَ إِذَا دُعُوا إِلَى اللَّهِ وَرَسُولِهِ لِيَحْكُمَ بَيْنَهُمْ أَنْ يَقُولُوا سَمِعْنَا وَأَطَعْنَا وَأُولَئِكَ هُمُ الْمُفْلِحُونَ
Translation: The only statement of the believers, when they are called to Allah and His Messenger so that he may judge between them, is that they say: “We hear and we obey.” And it is they who are the successful.
The first verse tells us that the one who is not content with the command of the Prophet ﷺ has not tasted the sweetness of faith at all, and the second verse describes the way of the believers: the believers are, in truth, only those who submit their heads in submission to the command of Allah and His Messenger ﷺ. This makes it clear that obeying the command of the Messenger ﷺ is, in reality, obedience to Allah Himself and pure tawhid, not a partnership in Allah’s command.
And if this were shirk, how would Allah command it?
The Second Point
From the context of the three places in the Qur’an where the mentioned verse occurs, it is clearly known that these verses command being content with the decrees of destiny, and that Allah the Exalted is unique in these decisions of His and has no partner. So it is in no way possible to use the mentioned part of the verse as evidence for this claim.
The Third Point
In some places Allah the Exalted has appointed some of His creation as judges, as in the matter of a dispute between husband and wife, where Allah the Exalted says:
وَإِنْ خِفْتُمْ شِقَاقَ بَيْنِهِمَا فَابْعَثُوا حَكَمًا مِنْ أَهْلِهِ وَحَكَمًا مِنْ أَهْلِهَا إِنْ يُرِيدَا إِصْلَاحًا يُوَفِّقِ اللَّهُ بَيْنَهُمَا إِنَّ اللَّهَ كَانَ عَلِيمًا خَبِيرًا
Translation: And if you fear a breach between the two, appoint an arbiter from his family and an arbiter from her family. If they both desire reconciliation, Allah will bring about agreement between them. Indeed, Allah has always been All-Knowing, All-Aware.
And likewise, regarding hunting within the boundaries of the Haram, Allah the Exalted says:
…وَمَنْ قَتَلَهُ مِنْكُمْ مُتَعَمِّدًا فَجَزَاءٌ مِثْلُ مَا قَتَلَ مِنَ النَّعَمِ يَحْكُمُ بِهِ ذَوَا عَدْلٍ مِنْكُمْ…
Translation: And whoever of you kills it intentionally, then the penalty is a equivalent of what he killed from among the livestock, as judged by two just men among you.
So if, even with the Qur’an present, judgment can be sought from certain individuals, then the station of the Messenger has all the more right to have judgment sought from him, and the possible way of doing so after the death of the Prophet ﷺ is acting upon his Sunnah.