You would need to prepare Form 8997 manually (outside of TurboTax) and then print and mail your entire return with the manually prepared Form 8997 included.
However, you might need to use a desktop (installed on a computer) version of TurboTax to prepare one or more of the other required forms (in Forms Mode, which is not supported in the online versions of TurboTax).