A Goldsboro woman was charged late Friday night after shooting a man in the back of the head outside a middle school, police said.