Here, it's not really a simple case of the words swapping position. In fact the equivalent phrase for use with a noun is not "too much", but "much too much/many": "it is much too painful to walk" ~ "I am in much too much pain to walk". The adverb "too" cannot be used by itself to qualify a noun as it can with an adjective (though you can say "too important", you can't say, for example, "too books", "too butter"); instead, to express an excessive quantity, you must insert "much" or "many" before the noun (depending on whether the noun is uncountable or countable): "too many books", "too much butter". Whether you're using an adjective or a noun, a "much" can be added before the "too" to to indicate a more extreme excess: "much too important", "much too much butter", "much too many books" (though with countable nouns it's much more common to say "far too many").