Is it safe to eat cooked broccoli left on the stove overnight?

No, it is not safe

No, you should never eat any food that has gone unrefrigerated overnight. This is ample time for bad bacteria to grow. Remember, you can't always smell or see the bacteria which causes food poisoning. If in doubt, throw it out.