Extubation Criteria

Head lift, Grip
NIF < -25 torr
RR < 30
TV > 5 cc/kg
VC > 10 cc/kg
PaO2 > 65 on FiO2 < .40
PaCO2 < 50 torr
Resting MV < 10 l/min
Level of Consciousness OK
Muscle Relaxants OK
TV/RR > 10

7 things to do prior to Extubation: 

Patient either deep or awake 
Patient either breathing or easy to ventilate manually 
Oral airway in place
Pharynx suctioned
Cuff deflated
Lungs manually inflated with 100% O2
Succinylcholine available.

NEVER extubate a patient without an oral airway in place.  

AFTER you extubate a patient, suction the pharynx one more time, put the mask on the patient, keep your right hand on the bag, test for airway patency, and then help them breathe for a while.