What you have is a cookie
What you have is a cookie press. They are still around, but usually as plastic, sometimes even battery operated. They make really nice holiday cookies. I don't have a recipe handy, but do an internet search for "pressed cookie recipes". There are a lot of them out there. I have 3 or 4 different cookie presses, but I like my old metal one the best!