If you want to install a 304 engine in a Jeep, you will need to use an adapter plate. This plate will allow you to bolt the 304 engine to the 904 transmission. However, you may also need to modify the transmission mount and driveshaft in order to make this swap work.
It is important to note that this is not a simple swap, and it may require some fabrication skills. If you are not confident in your mechanical abilities, you may want to have a professional install the 304 engine for you.