Yes, they are the same sovereign state.
Both refer to the landlocked Central European nation (capital: Bratislava) bordered by Poland, Ukraine, Hungary, Austria, and Czech Republic. Independence: January 1, 1993 (peaceful dissolution of Czechoslovakia).
Use "Slovakia" in general contexts; "the Slovak Republic" in formal, legal, or diplomatic documents.