#include <bits/stdc++.h>
using namespace std;
int main() {
  int t = 1;
  cin >> t;
  while (t--) {
    int n, ans = 0, m = 0, j = 0, k;
    cin >> n;
    string s, s1 = "abacaba", s2;
    cin >> s;
    int p = s.find(s1);
    if (p >= 0 && s.find(s1, p + 1) > n) {
      ans = 1;
    }
    s2 = s;
    if (ans == 0 && p == -1)
      for (auto j1 = 0; j1 < n; j1++) {
        if (ans == 1) break;
        s = s2;
        m = 0;
        j = 0;
        for (auto i = j1; i < n; i++) {
          if (s[i] == '?') {
            s[i] = s1[j];
            j++;
            k = i;
          } else if (s[i] == s1[j])
            j++;
          else
            j = 0;
          if (j == s1.length()) {
            p = s.find(s1);
            if (p >= 0 && s.find(s1, p + 1) < n) {
              s[k] = 'z';
            } else {
              m = 0;
              ans = 1;
              break;
            }
          }
        }
      }
    for (auto i = 0; i < n; i++) {
      if (s[i] == '?') {
        s[i] = 'z';
      }
    }
    if (ans)
      cout << "Yes" << endl << s << endl;
    else
      cout << "No" << endl;
  }
}
