After you file

The proper way to file Form 5329 is attached to Form 1040-X.
Form 5329 can be mailed by itself only when you are otherwise not required to file a tax return.

 

If you are paying a penalty then amounts are changing and you have to adjust your tax.
The new or changed forms would be
Form 5329
Schedule 2 Line 8
The penalty goes on 1040-X Line 10.
Do not include your old 1040 nor your revised 1040 because the Form 1040-X reflects any changes there and becomes your new tax return.

Done this way, you sign 1040-X, not 5329.

@msv1