Chosen Solution

If I took out the engine bay light housing and all would that make the tail lights not work

Not unless that light was connected to the same circuit as the tail lights and you shorted it out and blew the fuse. The fuse would be the first thing to check, wouldn’t it?