Will a 1994 jeep wrangler hard top fit a 2005 wrangler?

It should not fit, the YJ which is the 94, and the TJ are different body styles.