‘Sunni’ is ascribed to Sunnah, it means the Muslims who follow maslak of Sahaba (رضوان الله عليهم اجمعين) in beliefs and ahkam. Also they embrace the holy Prophet’s Sunnah and consensus of Ummah as hujjah (authority) along with the holy Quran. This is the meaning of ‘Sunni’. At present time it applies for those who are follower of Imam Abul Hasan al-Asha’ri or Abu Mansoor Maturidi in belief, and Muqallid of any Imam among the four famous Imams in furoo (derivative issues). As far as the Bohras and Khojas are concerned, they themselves can tell the details about their beliefs. However, basically they are two merchant people; out of which some are Sunni but most of them have beliefs against Ahl al-Sunnah wa al-Jamah.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband