Retired Southwest Airlines co-founder Herb Kelleher remembers a Texas bumper sticker from the late 1980s, when falling energy prices triggered an ugly regional downturn: “Dear Lord, give me another boom and I promise I won’t screw it up.”

Texas got its wish with another energy-driven boom, and now plunging oil prices are testing whether the state has held up its end of the bargain.

The...