Depends of the year of your truck, since a couple of years the fuel line (nylon) for fuel supply and return are metric size and no std brass fitting will fit.
Then you have to use original(new) plastic fitting, warm-up the end of the hose in very very hot water and push the fitting inside the new hose.
Not easy to make a joint in the hose.
Ben
its pretty simple need a heat gun to get those connections in and got to be carefull so you dont burn the hose just remove the line and you can buy line at dealer plus connections seperate. then heat up the hose with heat gun and put the fitting on it will be a very tight fit once it's on do the other side and you should be ready for install the rest gets held on by zip ties.