Preheat oven to 350°. Line 2 large baking sheets with parchment paper.
For cookies: In a large bowl, beat peanut butter, granulated sugar, and brown sugar with a mixer at medium speed until creamy, stopping to scrape sides of bowl, 2 to 3 minutes. Add eggs and vanilla, beating until combined. Add baking soda and salt, beating until combined.
Using a 1½-tablespoon scoop, scoop dough, and place 2 inches apart on prepared pans. Using tines of a fork, press dough balls to flatten, creating a crisscross pattern.
Bake until cookies spread and puff, about 12 minutes. Let cool completely on pans.
For filling: In a large bowl, beat butter, cream cheese, and salt with a mixer on medium speed until smooth and fluffy, about 2 minutes. With mixer on low speed, slowly add confectioners’ sugar and beat until fully combined, stopping to scrape sides of bowl as needed. Increase mixer to medium speed and beat until very fluffy, about 1 minute. Add preserves and beat until fluffy, about 1 minute more. Pipe or scoop filling onto flat side of 18 cookies. Top each with another cookie, flat side down. Chill until firm, about 1 hour. Store refrigerated in an airtight container for up to 5 days.
Recipe by Taste of the South at https://tasteofthesouthmagazine.com/peanut-butter-and-jam-sandwich-cookies/