To add a Hyperlink field in the custom record to display Return Tracking Number in a transaction record according to the tracking number entered.
Add a new field in the Custom record with type hyperlink.

Under Validation & Defaulting add Default value as formula as:

This field will display the url for return tracking number according to the Tracking number entered in the custom record field(another custom field)