Two notes a major second apart are also two fifths apart as shown in the example below.
The obvious way to modulate between two keys a major second apart is therefore to go two steps around the circle of fifths as in the Handel example below. The second bar is not strictly speaking a pivot chord because it is chromatically altered as IV of D minor.
information and orientation as you browse around TonalityGUIDE.com