I assume you are referring to Yazīd, the son of Mu‘āwiyyah.
Yazīd, the son of Mu‘āwiyyah was born during the era of ‘Othmān ibn Affān (may Allāh be pleased with him), hence Yazīd is not a Ṣaḥābī (Companion) of the Messenger (peace and blessings upon him).
And Allah knows best.
Answered by Shaykh Yusuf Badat Hadith of the Day Imam Imam of the Islamic Foundation of Toronto and Director of Mathabah Institute