My grandma had one of these ‘toys’ at her house when I was a kid. They’re called ‘gee-haw whammy diddle’.