had this problem before with an escort cosworth, car would die at 4k revs or there abouts, and would be fine up to that, it was the lambda sensor that was toast, and without it the ecu wont let the engine go above 4k revs without limiting, changed the sensor and it drove pefect. so i unless its been changed or the wireing to it checked out. i would try it.