1/4" metal pin through a 2x4: unthreaded t-nut or metal sleeve to prevent fretting (wear from small movements)?
Buy something like this: https://www.amazon.com/Z-Threaded-Insert-Internal-Threads/dp/B002WC8TQ6 screw it in, and drill out the interior threads.