The sensor your talking about I believe is the intake air temp sensor. This will not cause a CEL if it's laying around. This sensor would typically snap into a hole in the top of the airbox, near where the MAF connects. Does your car have a cone type K&N filter or a K&N panel filter attached to the top part of the airbox. (The bottom half is gone right?)