When you turn the shaft does it feel quite tight and "cog"? If so it's a stepper. Hard to see what else it could be as it's too short to have a commutator. What size is it? If it's 1.4 or 1.7 inch square it's another giveaway. Some of these old small stepper motors are only 48 steps per rev which makes them less useful. Is the cable a ribbon type with a blue strand along one edge? If so it's only to indicate which way round the cable should be connected. With 4 wires it will probably have 2 windings so could be compatible with a modern driver, check them out with a multimeter, there should be 2 pairs, one to each winding and the windings isolated.