The Jameco transformer part number 104417 looks exactly
like the transformer you have pictured there, and since
you ordered it recently it is probably just that.
They dont list a data sheet however, so the following
tests will help you determine how to wire the transformer.
In your picture showing the 4 terminals, the
most likely winding orientation is
S1 F1 S2 F2
where
S1=start winding 1
F1=finish winding 1
S2=start winding 2
F2=finish winding 2
To make sure of this, short out F1 to S2, then
connect a small ac voltage from another transformer
output to terminals S1 and F1, then measure the
voltage across S1 and F1 and record this, then
measure between S1 and F2 and record this.
If the above orientation is correct, the voltage
measured across S1 and F2 will be TWICE the voltage
across S1 and F1 (or nearly so). If this difference
voltage is ZERO volts, then flip S2 and F2.
Once you determine S1, F1, S2, and F2, you can then
wire like this:
For 230vac input, connect F1 to S2, apply 230vac
across S1 and F2.
For 120vac input, connect S1 to S2 and F1 to F2,
then connect 120vac between S1 and F1.
I strongly also advise to use a fuse rated for 1 amp
between the supply (230vac or 120vac) while trying
this out, just in case something gets hooked up
wrong. Without this fuse the transformer could
be damaged permanently and possibly one of the
windings could blow off of the core, which could
spew very hot molten copper in all directions.
Of course safety goggles are also a must.