In architecture, a moulding having a cross section in the form of a letter S (4)

I believe the answer is:
ogee
(Other definitions for ogee that I've seen before include "S-shaped moulding" , "bit of Gothic architecture?" , "Leer" , "architectural feature" , "S-shaped line" .)