These two candy stoppers (or toppers if you prefer) likely came stuck into one of those clear tubes filled with the knock-off M&M candies. These date from the 1970's.
It almost looks like the Jack O' Lantern was intended to also be used as a bank, although it could only hold less than a dollar's worth of pennies in it.
Both toppers are marked "Made in Hong Kong". Additionally, the Jack O' Lantern topper is marked "R.T.C. Chicago". It's possible that's either the candy company or the plastics company that made this. I was unable to identify the company.