It looks like the the first picture is of an Intermediate switch, and the second a 2-way. Which is the old, and which is the new? IIRC intermediate switches "cross over" the four terminals, so would need the red and black cables connected top left-bottom right or top right-bottom left.