Is this broccoli crown safe to eat?
Luckily you caught it before it finished the whole crown :) 

What you've got there is an earwig (probably one of the most creepy names possible for such a thing) and they're not known to be contaminants (they don't carry or transmit diseases to humans). 

Hard to tell from the picture, but that one seems to either have just begun (or finished) a molting cycle - wash the broccoli well or (ideally) blanch it prior to eating.