The black box is your fuel tank vent solenoid.
It sounds like what has happened is that you swapped the fuel return and emissions vapor lines around.
I believe that both of these lines are 5/16 coming off of the fuel tank sending unit so it wouldn't be to difficult to do..
You will need to lower the tank back down and swap the fuel lines around. You will then want to pull the lines off of the charcoal canister and allow to fuel to drain.
The canister may need to be replaced in the future...
So after i put in the fuel pump i went to go fill up my car. As i was filling it up (the car was almost empty) the gas pump kept clicking off. If the lines was in the wrong positions would it cause the gas pump to click off while trying ot fill it.
What has happened is that you have filled the venting system with fuel.
The vent system is designed to allow the fuel vapor pressure to escape while your filling the tank. With the vent system being full of fuel, the vapor pressure can not escape from the tank properly therefore it shuts off the pump.
Once you return the lines to their proper positions and drain the fuel out of the canister, you should be all set....
Can you send me a diagram of how thefuel hoses and how to remove the fuel canister to drain it please. Also all of your information has been right on thanks