1916, "stupid person," American English, perhaps a variant of English dialect goff "foolish clown" (1869), from 16c. goffe, probably from French goffe "awkward, stupid," which is of uncertain origin. Or English goffe may be from Middle English goffen "speak in a frivolous manner," which is possibly from Old English gegaf "buffoonery," and gaffetung "scolding." Sense of "a blunder" is c. 1954, probably influenced by gaffe. Also compare goofer, goopher which appears in representations of African-American dialect from 1887 in the sense of "a curse, spell," probably from an African word.
adjective suffix, "full of or characterized by," from Old English -ig, from Proto-Germanic *-iga- (source also of Dutch, Danish, German -ig, Gothic -egs), from PIE -(i)ko-, adjectival suffix, cognate with elements in Greek -ikos, Latin -icus (see -ic). Originally added to nouns in Old English; used from 13c. with verbs, and by 15c. even with other adjectives (for example crispy).