A bad connection, a bad wire that has rubbed the insulation off, and or a faulty Sensor. Just need to inspect the connector close and follow the wires and check for a spot that they could be bad.
There was a few years of the JK's that the underhood insulation was being sucked down over the air filter intake and causing a problem at highway speeds or fast acceleration.