1590s, "to restore to a previous place or position," from re- "back, again" + place (v.). Meaning "to take the place of" is recorded from 1753; that of "to fill the place of (with something else)" is from 1765. Related: Replaced; replacing.
common suffix of Latin origin forming nouns, originally from French and representing Latin -mentum, which was added to verb stems to make nouns indicating the result or product of the action of the verb or the means or instrument of the action. In Vulgar Latin and Old French it came to be used as a formative in nouns of action. French inserts an -e- between the verbal root and the suffix (as in commenc-e-ment from commenc-er; with verbs in ir, -i- is inserted instead (as in sent-i-ment from sentir).
Used with English verb stems from 16c. (for example amazement, betterment, merriment, the last of which also illustrates the habit of turning -y to -i- before this suffix).
The stems to which -ment is normally appended are those of verbs; freaks like oddment & funniment should not be made a precedent of; they are themselves due to misconception of merriment, which is not from the adjective, but from an obsolete verb merry to rejoice. [Fowler]
<a href="https://www.etymonline.com/word/replacement">Etymology of replacement by etymonline</a>
Harper, D. (n.d.). Etymology of replacement. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/replacement