little help
You mentioned having already replaced the harness under the valve cover. What about the connector in the valve cover gasket itself, or the other side of that harness on the outside of the gasket? A burned wire in any of those places could cause the intermittant problem you are having.
CHECKED them nothing perfect looking


