@RIII Forever, Have you checked hoses, cables, mechanical linkages, corrected sync of TB if needed, performed ISCV per TuneECU instructions? Have you tried to change the idle speed to say 650 or 1,100rpm via TuneECU to see if the engine idles at that rpm and throttle position?
It is impossible to diagnose after the fact with less than 1/10 of the information available. So asking us if the sensor is defective won't get you a good answer. Follow procedures to set and check, try changing a variable to see if it has an impact, and then deduce what you need to do next. If you don't have the needed skills, ask someone local who does to assist you, or take the bike to a good mechanic. Good luck.