How to tell whether a shift will fix it
Play the video and compare a line of dialogue near the beginning with its caption, then do the same near the end. If the captions are late by about the same amount in both places, say two seconds at minute one and two seconds at minute fifty, you have a constant offset and a shift is exactly the right repair. This is what happens when a few seconds of intro are cut from the video after the subtitles were made, when a broadcast recording starts slightly before or after the subtitle file assumes, or when a re-encode adds a short delay at the start.
If the error grows over time, correct at the start and twenty seconds off by the end, the subtitle file was made for a video running at a different frame rate or speed. A shift will line up one point and leave the rest wrong. That case needs the timings stretched by a ratio, which is a different operation that this tool does not perform. A subtitle editor with a frame rate conversion or a two-point synchronisation feature is the right tool there.