If you only have the .txt and no audio, you can create an empty timed SRT:
Converting .txt to .srt is but a process of adding temporal metadata. The optimal method depends on whether the matching audio/video is available: convertir txt a srt